/* ============================================================
   Seoulé Journal — ブログ用スタイル (blog.css)
   ------------------------------------------------------------
   ATELIER SEOULトークン(tokens.css)前提。tokens.cssの後に読み込む。
   - blog.html      : 一覧ハブ(ヒーロー+特集+カード網+サイドバー)
   - article.html   : 記事詰め(本文2カラム+目次+FAQ+著者+関連)
   - blog-category / blog-tag : 絞り込み一覧(blog.htmlと共通コンポーネント)
   ============================================================ */

/* ブログの見出しはゴシック(参考6社は全て見出しゴシック)。明朝の古さを解消。
   Zen Kaku Gothic New 700 は既にサイトで読み込み済み。追加フォント不要。 */
:root {
  --font-blog-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --jr-line: #E6DCD2;       /* 背景に馴染む温かいヘアライン */
  --jr-gold-tint: #F3ECDB;  /* 薄金(まとめ地) */
  --jr-plum-dark: #8E2F49;  /* 濃プラム */
}
/* ブログ内の見出しを一括でゴシックへ */
.jr-hero h1, .jr-feature__title, .jr-card__title, .jr-widget__head h2,
.article-head h1, .article-key h2, .article-toc > summary,
.prose h2, .prose h3, .prose h4, .article-faq h2, .faq-item > summary,
.author-box__name, .article-cta h2, .article-related h2, .routine-steps__cap,
.callout__label { font-family: var(--font-blog-heading); }

/* 読了プログレスバー(記事ページ・blog.jsが生成) */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; background: rgba(33,29,26,.06); }
/* ゲージは単色プラム(僅かに深くなる)で統一。ゴールドとの2色グラデはくすむため廃止 */
.reading-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--color-accent), var(--jr-plum-dark)); }
.reading-progress__pct {
  position: fixed; top: 12px; right: 12px; z-index: 300; pointer-events: none;
  font-family: var(--font-number); font-size: 0.625rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--color-accent); padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(33,29,26,.2); opacity: 0; transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.reading-progress__pct.is-visible { opacity: 1; transform: none; }
@media (min-width: 769px) { .reading-progress__pct { top: 130px; } }
@media (prefers-reduced-motion: reduce) { .reading-progress__pct { transition: none; } }

/* ---- 共通: セクション見出し(ジャーナル用) ---- */
.jr-eyebrow {
  font-family: var(--font-latin); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent);
}

/* ============================================================
   ブログ一覧ヒーロー
   ============================================================ */
.jr-hero {
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(246,231,235,.85) 0%, rgba(246,231,235,0) 55%),
    linear-gradient(165deg, #FAF8F5 45%, #F3EFE9 130%);
  border-bottom: var(--border-default);
}
.jr-hero__inner { padding-block: var(--space-8) var(--space-6); text-align: center; }
.jr-hero h1 {
  font-family: var(--font-blog-heading); font-weight: 600;
  font-size: var(--fs-h1); letter-spacing: 0.06em; line-height: 1.5;
  margin: var(--space-2) 0 var(--space-3);
}
.jr-hero h1 .ko { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--color-accent); letter-spacing: .1em; margin-top: 6px; }
.jr-hero__lead { max-width: 640px; margin: 0 auto; font-size: 0.875rem; color: var(--color-text-sub); line-height: 1.9; }
.jr-hero__rule { width: 40px; height: 2px; background: var(--color-gold-line); margin: var(--space-4) auto 0; }

/* ============================================================
   一覧: 本体2カラム(記事網 + サイドバー)
   ============================================================ */
.jr-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding-block: var(--space-8); }
.jr-layout > * { min-width: 0; }
@media (min-width: 900px) {
  .jr-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-12); align-items: start; }
}

/* 絞り込みバー(カテゴリータブ) */
.jr-filterbar { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }

/* 特集(先頭記事を大きく) */
.jr-feature {
  display: grid; gap: 0; margin-bottom: var(--space-8);
  background: var(--color-surface); border: var(--border-default);
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow .25s ease;
}
.jr-feature:hover { box-shadow: var(--shadow-card-hover); }
@media (min-width: 620px) { .jr-feature { grid-template-columns: 1.15fr 1fr; } }
.jr-feature__media { position: relative; aspect-ratio: 16 / 10; background: var(--color-surface-2); overflow: hidden; }
@media (min-width: 620px) { .jr-feature__media { aspect-ratio: auto; height: 100%; min-height: 260px; } }
.jr-feature__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.jr-feature:hover .jr-feature__media img { transform: scale(1.03); }
.jr-feature__body { padding: var(--space-6); display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); }
.jr-feature__title { font-family: var(--font-blog-heading); font-weight: 600; font-size: 1.25rem; line-height: 1.55; letter-spacing: .01em; }
.jr-feature__title a { color: var(--color-text); }
.jr-feature__title a:hover { color: var(--color-accent); }
.jr-feature__excerpt { font-size: 0.8125rem; color: var(--color-text-sub); line-height: 1.85; }

/* カード網 */
.jr-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 560px) { .jr-grid { grid-template-columns: repeat(2, 1fr); } }

.jr-card {
  display: flex; flex-direction: column;
  background: var(--color-surface); border: var(--border-default);
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow .25s ease, transform .25s ease;
}
.jr-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.jr-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--color-surface-2); overflow: hidden; }
/* 入る画像はほぼ正方形の商品バナー(文字入り)。coverだと上下37%が切れて
   キャッチコピーが読めないので、余白つきで全部見せる */
.jr-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.jr-card:hover .jr-card__media img { transform: scale(1.04); }
.jr-card__cat {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  display: inline-flex; align-items: center; padding: 4px 10px;
  background: rgba(250,248,245,.94); color: var(--color-accent);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; box-shadow: 0 1px 4px rgba(33,29,26,.14);
}
.jr-card__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-2); padding: var(--space-4); }
.jr-card__title { font-family: var(--font-blog-heading); font-weight: 600; font-size: 0.9375rem; line-height: 1.6; }
.jr-card__title a { color: var(--color-text); }
.jr-card__title a:hover { color: var(--color-accent); }
.jr-card__excerpt { font-size: 0.75rem; color: var(--color-text-sub); line-height: 1.8; flex: 1; }
.jr-card__meta { display: flex; align-items: center; gap: 8px; font-size: 0.6875rem; color: var(--color-text-sub); }
.jr-card__meta time { font-family: var(--font-number); }
.jr-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-border); }

/* カード全体をクリック可能に(stretched-link)。タイトルの実リンクを
   カード全面に広げ、画像だけ/タイトルだけでなくどこを押しても記事へ遷移。
   カテゴリー等の別リンクは z-index を上げて個別クリックを維持。 */
.jr-card, .jr-feature { position: relative; }
.jr-card__title a::after, .jr-feature__title a::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.jr-card { cursor: pointer; }
.jr-card__excerpt, .jr-feature__excerpt { position: relative; z-index: 0; }
/* 特集カード内のカテゴリーリンクは前面に(別遷移先のため) */
.jr-feature__body > .jr-card__cat, .jr-card__media .jr-card__cat { position: relative; z-index: 2; }

/* メタ(日付/読了/著者) 共通 */
.jr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.75rem; color: var(--color-text-sub); }
.jr-meta time, .jr-meta .rt { font-family: var(--font-number); }
.jr-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--color-border); }

/* ============================================================
   サイドバー(おすすめ/人気/新着/カテゴリー/タグ)
   ============================================================ */
.jr-side { display: flex; flex-direction: column; gap: var(--space-6); }
@media (min-width: 900px) { .jr-side { position: sticky; top: 88px; } }
.jr-widget { background: var(--color-surface); border: var(--border-default); border-radius: var(--radius-card); padding: var(--space-4) var(--space-4) var(--space-6); box-shadow: var(--shadow-card); }
.jr-widget__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.jr-widget__head h2 { font-family: var(--font-blog-heading); font-weight: 600; font-size: 0.9375rem; letter-spacing: .02em; }
.jr-widget__head .en { font-family: var(--font-latin); font-size: 0.625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }

/* ランキング型リスト(人気記事) */
.jr-rank { display: flex; flex-direction: column; gap: var(--space-3); }
.jr-rank__item { display: grid; grid-template-columns: 28px 56px 1fr; gap: 10px; align-items: center; }
.jr-rank__no { font-family: var(--font-number); font-weight: 700; font-size: 1.125rem; color: var(--color-gold-text); text-align: center; }
.jr-rank__item:nth-child(1) .jr-rank__no { color: var(--color-accent); }
.jr-rank__thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--color-surface-2); }
.jr-rank__title { font-size: 0.75rem; line-height: 1.55; font-weight: 500; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jr-rank__title:hover { color: var(--color-accent); }

/* 縦リスト(おすすめ/新着) */
.jr-list { display: flex; flex-direction: column; }
.jr-list__item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
.jr-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.jr-list__item:first-child { padding-top: 0; }
.jr-list__thumb { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: var(--color-surface-2); }
.jr-list__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jr-list__title { font-size: 0.75rem; line-height: 1.55; font-weight: 500; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jr-list__title:hover { color: var(--color-accent); }
.jr-list__date { font-family: var(--font-number); font-size: 0.625rem; color: var(--color-text-sub); }

/* カテゴリーリスト */
.jr-cats { display: flex; flex-direction: column; }
.jr-cats a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: 0.8125rem; color: var(--color-text); }
.jr-cats a:last-child { border-bottom: 0; }
.jr-cats a:hover { color: var(--color-accent); }
.jr-cats .count { font-family: var(--font-number); font-size: 0.6875rem; color: var(--color-text-sub); background: var(--color-surface-2); border-radius: 999px; padding: 1px 8px; }

/* タグクラウド(既存.chipを再利用) */
.jr-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* CTA(サイドの相談導線) */
.jr-cta { background: linear-gradient(160deg, #FAF8F5, #F6E7EB); border-color: var(--color-accent-soft); text-align: center; }
.jr-cta p { font-size: 0.8125rem; color: var(--color-text-sub); line-height: 1.8; margin-bottom: var(--space-3); }

/* ============================================================
   記事ページ (article.html)
   ============================================================ */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding-block: var(--space-6) var(--space-12); }
.article-wrap > article { min-width: 0; }
/* アンカー遷移時に固定ヘッダー(SP57px/PC119px)へ隠れないようオフセット */
.article-wrap [id] { scroll-margin-top: 72px; }
@media (min-width: 769px) { .article-wrap [id] { scroll-margin-top: 135px; } }
@media (min-width: 960px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 280px; gap: var(--space-12); align-items: start; }
}

/* 記事ヘッダー */
.article-head { margin-bottom: var(--space-6); }
.article-head__cat { display: inline-flex; align-items: center; padding: 4px 12px; background: var(--color-accent-soft); color: var(--color-accent); font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em; border-radius: 999px; }
.article-head h1 { font-family: var(--font-blog-heading); font-weight: 700; font-size: clamp(1.4rem, 4.2vw, 2rem); line-height: 1.5; letter-spacing: .01em; margin: var(--space-3) 0; }
.article-head__meta { margin-top: var(--space-3); }
.article-head__hero { margin-top: var(--space-6); border-radius: var(--radius-card); overflow: hidden; background: var(--color-surface-2); box-shadow: var(--shadow-card); }
.article-head__hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-svg { display: block; width: 100%; height: auto; }
.hero-svg__eyebrow { font-family: var(--font-latin); font-weight: 600; font-size: 26px; letter-spacing: 6px; fill: var(--color-accent); text-transform: uppercase; }
.hero-svg__no { font-family: var(--font-number); font-size: 17px; letter-spacing: 2px; fill: var(--color-text-sub); }
.hero-svg__title { font-family: var(--font-blog-heading); font-weight: 700; font-size: 74px; letter-spacing: 3px; fill: var(--color-text); }
.hero-svg__ko { font-family: var(--font-body); font-weight: 500; font-size: 22px; letter-spacing: 4px; fill: var(--color-accent); }

/* スキンケア手順フロー(記事内・順番セクションに自動挿入) */
.routine-steps { margin: var(--space-6) 0; padding: var(--space-6) var(--space-4); background: linear-gradient(160deg, var(--color-surface), var(--color-surface-2)); border: var(--border-default); border-radius: var(--radius-card); }
.routine-steps__cap { font-family: var(--font-blog-heading); font-weight: 600; font-size: 0.9375rem; text-align: center; margin-bottom: var(--space-6); display: flex; flex-direction: column; gap: 4px; }
.routine-steps__cap span { font-family: var(--font-body); font-weight: 400; font-size: 0.6875rem; color: var(--color-text-sub); }
/* .prose ol / li の既定(縦積み・自動番号)を上書きするため .prose 付きで指定 */
.prose .routine-steps__flow, .routine-steps__flow { list-style: none; display: flex; flex-direction: row; align-items: flex-start; justify-content: center; gap: 0; padding: 0; margin: 0; }
.prose .routine-steps__flow > li, .routine-steps__step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; padding: 0 4px; margin: 0; }
.prose .routine-steps__flow > li::before { content: none; } /* .prose の自動番号を消す */
.routine-steps__step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 50%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--color-gold-line) 0 5px, transparent 5px 10px); z-index: 0; }
.routine-steps__no { position: relative; z-index: 1; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent); color: #fff; font-family: var(--font-number); font-size: 0.625rem; font-weight: 700; }
.routine-steps__icon { position: relative; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--color-surface); border: 1.5px solid var(--color-accent-soft); color: var(--color-accent); box-shadow: var(--shadow-card); }
.routine-steps__icon svg { width: 24px; height: 24px; }
.routine-steps__label { font-size: 0.71875rem; font-weight: 600; text-align: center; line-height: 1.35; color: var(--color-text); }
/* 「＋ ここに追加」= 新しい1本を既存ルーチンのどこに足すかを示す強調 */
.routine-steps__step.is-plus .routine-steps__icon { border-color: var(--color-accent); background: var(--color-accent-soft); box-shadow: 0 0 0 4px rgba(166,57,85,.12); }
.routine-steps__step.is-plus .routine-steps__label { color: var(--color-accent); font-weight: 700; }
.routine-steps__plus { display: inline-block; margin-top: 4px; background: var(--color-accent); color: #fff; font-size: 0.5625rem; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.routine-steps__note { font-size: 0.6875rem; color: var(--color-text-sub); line-height: 1.7; margin-top: var(--space-4); text-align: center; }
@media (max-width: 560px) {
  .prose .routine-steps__flow, .routine-steps__flow { flex-direction: column; align-items: stretch; gap: 0; max-width: 300px; margin: 0 auto; }
  .prose .routine-steps__flow > li, .routine-steps__step { flex-direction: row; align-items: center; gap: 14px; padding: 7px 0; text-align: left; }
  /* 番号は左のタイムライン・ノードに。点線は「番号どうし」を縦に繋ぐ(アイコンに被せない) */
  .routine-steps__no { position: relative; left: auto; top: auto; }
  .routine-steps__step:not(:last-child)::after { top: 50%; left: 9px; width: 2px; height: 100%; background: repeating-linear-gradient(180deg, var(--color-gold-line) 0 5px, transparent 5px 10px); }
  .routine-steps__label { text-align: left; font-size: 0.8125rem; flex: 0 1 auto; }
  .routine-steps__plus { margin-top: 0; margin-left: 2px; }
}

/* この記事でわかること */
/* この記事でわかること: 薄プラム地 + プラムの丸チェック(参考=ウィルゲート/ミエルカのソフトボックス) */
.article-key {
  background: var(--color-accent-soft); border: 1px solid #EBD3DA;
  border-radius: 14px; padding: var(--space-6) var(--space-6);
  margin: var(--space-8) 0;
}
.article-key h2 { font-size: 1.0625rem; font-weight: 700; color: var(--color-accent); margin-bottom: var(--space-4); display: flex; align-items: center; gap: 8px; }
.article-key h2::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent); color: #fff; display: inline-grid; place-items: center; font-size: 13px; line-height: 1; content: "✓"; font-weight: 700; }
.article-key ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.article-key li { position: relative; padding-left: 30px; font-size: 0.875rem; line-height: 1.75; color: var(--color-text); }
/* 項目のチェックは“薄プラム地＋プラムのレ点”で軽く。見出しの塗りチェック(唯一の濃い印)と階層を付け、
   同じ濃い丸が6つ並ぶ重さを解消する */
.article-key li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(166,57,85,.12); color: var(--color-accent); display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; }

/* 目次(本文内・モバイル/PC共通の折りたたみ) */
/* 目次: 白地・角丸・ゼロ埋め番号(プランB流)・金の飾り。参考各社の枠囲み+ブランド色番号 */
.article-toc { background: var(--color-surface); border: 1px solid var(--jr-line); border-radius: 12px; margin: var(--space-8) 0; padding: var(--space-2) var(--space-6) var(--space-4); }
.article-toc > summary { cursor: pointer; list-style: none; padding: var(--space-4) 0 var(--space-3); font-weight: 700; font-size: 0.875rem; letter-spacing: .06em; color: var(--color-accent); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--jr-line); }
.article-toc > summary::-webkit-details-marker { display: none; }
.article-toc > summary::before { content: ""; width: 20px; height: 2px; background: var(--color-gold-line); flex: 0 0 auto; }
.article-toc > summary .en { font-family: var(--font-latin); font-size: 0.625rem; letter-spacing: .1em; color: var(--color-text-sub); text-transform: uppercase; }
.article-toc > summary::after { content: "▾"; color: var(--color-accent); margin-left: auto; transition: transform .2s ease; }
.article-toc[open] > summary::after { transform: rotate(180deg); }
.article-toc ol { list-style: none; counter-reset: toc; padding: var(--space-3) 0 0; }
.article-toc li { counter-increment: toc; }
.article-toc li a { display: flex; gap: 12px; padding: 9px 0; font-size: 0.8125rem; color: var(--color-text); line-height: 1.55; text-decoration: none; }
.article-toc li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-number); color: var(--color-accent); font-weight: 700; flex: 0 0 auto; }
.article-toc li a:hover { color: var(--color-accent); }
.article-toc li.is-sub a { padding-left: 26px; font-size: 0.75rem; color: var(--color-text-sub); }
.article-toc li.is-sub a::before { content: "–"; color: var(--color-gold-text); }

/* 本文 prose */
.prose { color: var(--color-text); font-size: var(--fs-body); line-height: 2; min-width: 0; overflow-wrap: anywhere; }
.prose > * + * { margin-top: var(--space-4); }
/* H2: 細い下線 + プラムの短い帯(参考=ウィルゲート/ナイル/LANY流)。上マージンを広く取り区切りを明確に */
.prose h2 {
  font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.625rem);
  line-height: 1.5; letter-spacing: .02em; color: var(--color-text);
  margin-top: 3.2em; padding-bottom: .5em; position: relative;
  border-bottom: 1px solid var(--jr-line);
}
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; border-radius: 2px; background: var(--color-accent); }
.prose h2 .en { display: block; font-family: var(--font-latin); font-size: 0.6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 4px; }
/* H3: 金の左バー(H2=プラム / H3=金 で色による階層) */
.prose h3 { font-weight: 700; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.6; color: var(--color-text); margin-top: 2.2em; padding-left: 12px; border-left: 4px solid var(--color-gold-line); }
.prose h4 { font-weight: 700; font-size: 1rem; color: var(--jr-plum-dark); margin-top: 1.8em; }
.prose p { line-height: 2; }
.prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { opacity: .8; }
.prose strong { font-weight: 700; color: var(--color-text); background: linear-gradient(transparent 60%, var(--color-accent-soft) 60%); padding: 0 1px; }
.prose ul, .prose ol { padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 20px; line-height: 1.9; }
.prose ul > li::before { content: ""; position: absolute; left: 5px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.prose ol { list-style: none; counter-reset: li; padding-left: 0; }
.prose ol > li { position: relative; padding-left: 30px; line-height: 1.9; counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--color-accent); color: #fff; font-family: var(--font-number); font-size: 0.75rem; font-weight: 700; border-radius: 50%; }
.prose blockquote { border-left: 3px solid var(--color-gold-line); background: var(--color-surface-2); padding: var(--space-3) var(--space-4); font-size: 0.875rem; color: var(--color-text-sub); border-radius: 0 var(--radius-button) var(--radius-button) 0; }
.prose img { width: 100%; border-radius: var(--radius-card); }
.prose figure figcaption { font-size: 0.6875rem; color: var(--color-text-sub); text-align: center; margin-top: 6px; }

/* 比較表: プラムヘッダー×白文字 + 温かいゼブラ + 角丸(参考各社より一段上品に)。SPは横スクロール */
.prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--space-6) 0; }
.prose table { width: 100%; min-width: 460px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--jr-line); border-radius: 12px; overflow: hidden; font-size: 0.875rem; line-height: 1.65; }
.prose thead th { background: var(--color-accent); color: #fff; font-weight: 700; text-align: left; letter-spacing: .02em; }
.prose th, .prose td { padding: 13px 16px; border-top: 1px solid #F0E7DE; vertical-align: top; }
.prose thead th { border-top: 0; }
.prose tbody th { background: var(--color-accent-soft); color: var(--color-text); font-weight: 700; text-align: left; }
.prose tbody tr:nth-child(even) td { background: #FBF5F0; }
.prose td .price-sale { font-family: var(--font-number); font-weight: 700; color: var(--color-sale); }

/* 補足ボックス(ポイント/注意) */
.callout { border: var(--border-default); border-radius: var(--radius-card); padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6); background: var(--color-surface); position: relative; }
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: var(--radius-card) 0 0 var(--radius-card); }
.callout__label { font-family: var(--font-blog-heading); font-weight: 600; font-size: 0.8125rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.callout p { font-size: 0.8125rem; line-height: 1.85; color: var(--color-text-sub); }
.callout--point { background: var(--color-accent-soft); }
.callout--point::before { background: var(--color-accent); }
.callout--point .callout__label { color: var(--color-accent); }
.callout--note::before { background: var(--color-gold-line); }
.callout--note .callout__label { color: var(--color-badge-authentic); }

/* 記事内の生成画像(見出し後に挿入) */
.article-figure { margin: var(--space-6) 0; border-radius: var(--radius-card); overflow: hidden; background: var(--color-surface-2); box-shadow: var(--shadow-card); }
.article-figure img { display: block; width: 100%; height: auto; }
.article-figure figcaption { font-size: 0.6875rem; color: var(--color-text-sub); text-align: center; padding: 8px 12px; }
.article-head__hero--img { aspect-ratio: 3 / 2; }
.article-head__hero--img img { width: 100%; height: 100%; object-fit: cover; }

/* 編集部メモ: 他社/定番アイテム(信頼性のための情報提供) */
.ext-mentions { margin: var(--space-8) 0; }
.ext-mentions__lead { font-size: 0.8125rem; color: var(--color-text-sub); line-height: 1.85; margin-bottom: var(--space-3); }
.ext-mentions__list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); padding: 0; }
.ext-mentions__item { background: var(--color-surface); border: var(--border-default); border-radius: var(--radius-button); padding: var(--space-3) var(--space-4); }
.ext-mentions__brand { font-family: var(--font-latin); font-size: 0.625rem; font-weight: 600; letter-spacing: .06em; color: var(--color-text-sub); margin-left: 8px; }
.ext-mentions__name { font-weight: 700; font-size: 0.875rem; color: var(--color-text); }
.ext-mentions__note { font-size: 0.78125rem; color: var(--color-text-sub); line-height: 1.7; margin-top: 4px; }

/* 本文内 商品カード(1枚を大きめの横型で) */
.article-product { margin: var(--space-6) 0; }
.article-product__inner {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4);
  background: var(--color-surface); border: var(--border-default);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  overflow: hidden; transition: box-shadow .25s ease;
}
@media (min-width: 560px) { .article-product__inner { grid-template-columns: 160px 1fr; } }
.article-product__inner:hover { box-shadow: var(--shadow-card-hover); }
.article-product__media { background: var(--color-surface-2); }
.article-product__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.article-product__body { padding: var(--space-4) var(--space-4) var(--space-4) 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.article-product__brand { font-family: var(--font-latin); font-weight: 600; font-size: 0.625rem; letter-spacing: .06em; color: var(--color-text-sub); }
.article-product__name { font-family: var(--font-blog-heading); font-weight: 600; font-size: 0.875rem; line-height: 1.5; }
/* .prose a の色/下線がカード内リンクへ漏れないよう明示的に上書き */
.prose .article-product__name a,
.article-product__name a { color: var(--color-text); text-decoration: none; }
.prose .article-product__name a:hover,
.article-product__name a:hover { color: var(--color-accent); }
.article-product__price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-family: var(--font-number); }
.article-product__price .sale { font-size: 1.125rem; font-weight: 700; color: var(--color-sale); }
.article-product__price .reg { font-size: 0.75rem; color: var(--color-text-sub); text-decoration: line-through; }
.article-product__price .off { font-size: 0.6875rem; font-weight: 700; color: var(--color-sale); }
/* 在庫切れ(blog.jsが実行時に付与)。記事は静的に焼いてあるので、在庫だけ後から上書きする。
   売り込みの見た目のままにしないが、記事の文脈としては残す */
.article-product.is-soldout .article-product__media img { opacity: .45; filter: grayscale(38%); }
.article-product__oos {
  align-self: flex-start; margin-top: 2px; padding: 3px 10px; border-radius: 999px;
  background: rgba(33,29,26,.08); color: var(--color-text-sub);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em;
}
.prose .article-product.is-soldout .article-product__cta,
.article-product.is-soldout .article-product__cta { background: var(--color-text-sub); box-shadow: none; }
.prose .article-product.is-soldout .article-product__cta:hover,
.article-product.is-soldout .article-product__cta:hover { background: var(--color-text); transform: none; }
/* 「商品を見る」CTA: プラム地×白文字で常に高コントラスト。
   ホバーは「濃いプラム＋矢印が右へ動く＋くっきり浮く」で分かりやすく。
   くすむピンクのぼかし影は廃止し、締まった影に。下線・色漏れは封じる。 */
.prose .article-product__cta,
.article-product__cta {
  margin-top: var(--space-2); display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start; padding: 10px 22px; background: var(--color-accent); color: #fff;
  border-radius: 999px; font-size: 0.8125rem; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; box-shadow: 0 2px 6px rgba(33,29,26,.14);
  transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.prose .article-product__cta span,
.article-product__cta span { transition: transform .2s ease; }
.prose .article-product__cta:hover,
.article-product__cta:hover { background: var(--jr-plum-dark); color: #fff; box-shadow: 0 6px 16px rgba(33,29,26,.20); transform: translateY(-2px); }
.prose .article-product__cta:hover span,
.article-product__cta:hover span { transform: translateX(3px); }
.prose .article-product__cta:focus-visible,
.article-product__cta:focus-visible { outline: 2px solid var(--jr-plum-dark); outline-offset: 2px; }
.article-product__media { text-decoration: none; }

/* FAQ (details/summary アコーディオン) */
.article-faq { margin-top: var(--space-12); }
.article-faq h2 { font-family: var(--font-blog-heading); font-weight: 700; font-size: var(--fs-h2); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-4); }
.faq-item { border: var(--border-default); border-radius: var(--radius-card); margin-bottom: var(--space-3); overflow: hidden; background: var(--color-surface); }
.faq-item > summary { cursor: pointer; list-style: none; padding: var(--space-4); font-weight: 600; font-size: 0.875rem; line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before { content: "Q"; flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; background: var(--color-accent); color: #fff; font-family: var(--font-number); font-weight: 700; font-size: 0.75rem; border-radius: 50%; }
.faq-item > summary::after { content: "＋"; margin-left: auto; color: var(--color-text-sub); flex: 0 0 auto; }
.faq-item[open] > summary::after { content: "－"; }
.faq-item__a { padding: 0 var(--space-4) var(--space-4) calc(var(--space-4) + 32px); font-size: 0.8125rem; line-height: 1.9; color: var(--color-text-sub); }

/* 著者/監修ボックス(E-E-A-T) */
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); align-items: center; background: var(--color-surface-2); border: var(--border-default); border-radius: var(--radius-card); padding: var(--space-4); margin-top: var(--space-8); }
.author-box__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent-soft); display: grid; place-items: center; font-family: var(--font-latin); font-weight: 600; color: var(--color-accent); font-size: 1.25rem; }
.author-box__name { font-family: var(--font-blog-heading); font-weight: 600; font-size: 0.875rem; }
.author-box__role { font-size: 0.6875rem; color: var(--color-accent); margin-bottom: 4px; }
.author-box__bio { font-size: 0.75rem; color: var(--color-text-sub); line-height: 1.7; }

/* タグ(記事下) */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-8); }

/* 共有 */
.article-share { display: flex; align-items: center; gap: 10px; margin-top: var(--space-6); font-size: 0.75rem; color: var(--color-text-sub); }
.article-share a { width: 34px; height: 34px; display: grid; place-items: center; border: var(--border-default); border-radius: 50%; color: var(--color-text); }
.article-share a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.article-share svg { width: 16px; height: 16px; }

/* 記事内CTA(悩み別ページ/相談への誘導) */
.article-cta { margin-top: var(--space-12); background: linear-gradient(160deg, #FAF8F5, #F6E7EB); border: var(--border-default); border-color: var(--color-accent-soft); border-radius: var(--radius-card); padding: var(--space-6); text-align: center; }
.article-cta h2 { font-family: var(--font-blog-heading); font-weight: 600; font-size: 1.125rem; border: 0; padding: 0; margin-bottom: var(--space-2); }
.article-cta p { font-size: 0.8125rem; color: var(--color-text-sub); line-height: 1.8; margin-bottom: var(--space-4); }
.article-cta .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* PC用サイドの目次(スティッキー)
   ・固定ヘッダー(約119px)に隠れないよう top を確保
   ・目次が長い/ウィンドウが低いときも消えないよう、box内をスクロール可に(max-height) */
.article-side { display: none; }
@media (min-width: 960px) {
  .article-side { display: block; position: -webkit-sticky; position: sticky; top: 128px; align-self: start; }
  .toc-sticky {
    border: var(--border-default); border-radius: var(--radius-card); background: var(--color-surface);
    padding: var(--space-4); box-shadow: var(--shadow-card);
    max-height: calc(100vh - 148px); overflow-y: auto; overscroll-behavior: contain;
  }
  .toc-sticky__head { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-blog-heading); font-weight: 700; font-size: 0.8125rem; letter-spacing: .01em; color: var(--color-accent); margin-bottom: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--jr-line); }
  .toc-sticky__en { font-family: var(--font-latin); font-size: 0.5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-sub); font-weight: 600; }
  .toc-sticky ol { list-style: none; counter-reset: stoc; display: flex; flex-direction: column; }
  .toc-sticky li { counter-increment: stoc; }
  .toc-sticky a { display: flex; gap: 8px; padding: 6px 0; font-size: 0.75rem; line-height: 1.5; color: var(--color-text-sub); border-left: 2px solid transparent; padding-left: 10px; margin-left: -2px; transition: color .2s ease, border-color .2s ease; }
  .toc-sticky a:hover, .toc-sticky a.is-active { color: var(--color-accent); border-left-color: var(--color-accent); }
  .toc-sticky li.is-sub a { padding-left: 22px; }
}

/* ============================================================
   スマホ用 目次ボタン(FAB)＋ボトムシート
   ・右下の相談アイコンの少し上に常駐し、押すと目次シートが開く
   ・PC(>=960px)はサイドの固定目次があるため非表示
   ============================================================ */
.toc-fab {
  position: fixed; right: 16px; bottom: 88px; z-index: 138;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--color-surface); color: var(--color-accent);
  border: 1.5px solid var(--color-accent-soft); box-shadow: 0 4px 16px rgba(33,29,26,.22);
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease, visibility .25s;
}
.toc-fab:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(33,29,26,.28); }
.toc-fab svg { width: 20px; height: 20px; }
.toc-fab span { font-size: 0.5rem; font-weight: 700; letter-spacing: .04em; line-height: 1; }
/* 目次シートを開いている間はFABを隠す */
body.toc-sheet-open .toc-fab { opacity: 0; visibility: hidden; pointer-events: none; }

.toc-sheet-overlay { position: fixed; inset: 0; z-index: 145; background: rgba(33,29,26,.45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
body.toc-sheet-open .toc-sheet-overlay { opacity: 1; visibility: visible; }

.toc-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 146;
  display: flex; flex-direction: column; max-height: 72vh; max-height: 72dvh;
  background: var(--color-bg); border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(33,29,26,.25);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.22,1,.36,1);
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}
body.toc-sheet-open .toc-sheet { transform: none; }
.toc-sheet__grip { width: 40px; height: 4px; border-radius: 999px; background: var(--color-border); margin: 10px auto 2px; }
.toc-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 12px; border-bottom: 1px solid var(--jr-line); }
.toc-sheet__ttl { font-family: var(--font-blog-heading); font-weight: 700; font-size: 0.9375rem; color: var(--color-accent); }
.toc-sheet__close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--color-surface-2); color: var(--color-text); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.toc-sheet__list { list-style: none; margin: 0; padding: 8px 10px calc(var(--space-4)); overflow-y: auto; -webkit-overflow-scrolling: touch; counter-reset: tsheet; }
.toc-sheet__list li { counter-increment: tsheet; }
.toc-sheet__list a { display: flex; gap: 12px; padding: 13px 14px; border-radius: 10px; font-size: 0.875rem; line-height: 1.5; color: var(--color-text); text-decoration: none; }
.toc-sheet__list a::before { content: counter(tsheet, decimal-leading-zero); font-family: var(--font-number); font-weight: 700; color: var(--color-accent); flex: 0 0 auto; }
.toc-sheet__list a:active { background: var(--color-accent-soft); }
.toc-sheet__list li.is-sub a { padding-left: 34px; font-size: 0.8125rem; color: var(--color-text-sub); }
.toc-sheet__list li.is-sub a::before { content: "–"; color: var(--color-gold-text); }
@media (min-width: 960px) { .toc-fab, .toc-sheet, .toc-sheet-overlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .toc-sheet { transition: none; } }

/* 関連記事 */
.article-related { margin-top: var(--space-12); padding-top: var(--space-8); border-top: var(--border-default); }
.article-related h2 { font-family: var(--font-blog-heading); font-weight: 600; font-size: 1.125rem; margin-bottom: var(--space-4); }

/* ページネーション */
.jr-pager { display: flex; justify-content: center; align-items: center; gap: var(--space-2); margin-top: var(--space-8); }
.jr-pager a, .jr-pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border: var(--border-default); border-radius: var(--radius-button); font-family: var(--font-number); font-size: 0.8125rem; color: var(--color-text); }
.jr-pager a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.jr-pager .is-current { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.jr-pager .is-disabled { opacity: .4; pointer-events: none; }
