@charset "utf-8";
/* =========================================
   濁り りんご酢「細雪」 商品ページ（完成パターン＝マスターパターン）
   BEMプレフィックス: kdw-ringosu__
   配色: アップルレッド（#b8342a）／食品・暖色
   配置先: https://www.kodawari-net.com/img/css/nigori-ringosu-kdw.css
   ※構造・余白・型はマスターパターンのまま。色・文言・本文・画像・章数のみ商品用に差し替え。
   ※グリーン／ネイビー変種は本ページ未使用のため削除（単色テーマ）。
   ========================================= */

/* ── ラッパー ───────────────────────── */
.kdw-ringosu__wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  color: #333;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 8px;
  font-size: 16px;
  box-sizing: border-box;
  background: none;
}

/* ── 商品名バッジ（英字表記） ─────────── */
.kdw-ringosu__product-badge {
  display: block;
  width: fit-content;
  margin: 28px auto 14px;
  background: #f6dcd6;
  color: #a8322b;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 18px;
  border-radius: 20px;
}

/* ── 商品名 ─────────────────────────── */
.kdw-ringosu__product-name {
  font-size: 27px;
  font-weight: 800;
  color: #8a2a20;
  text-align: center;
  line-height: 1.45;
  margin: 0 0 26px;
}

/* ── キービジュアル・チャプター画像（カード外） */
.kdw-ringosu__keyvisual {
  width: 100%;
  display: block;
  margin: 0 0 6px;
  background: none;
}
.kdw-ringosu__keyvisual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.kdw-ringosu__chapter-img {
  width: 100%;
  display: block;
  margin: 0 0 20px;
  background: none;
}
.kdw-ringosu__chapter-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
/* 章末・リスト途中など、見出し直下ではない場所に写真を挟む場合（上に余白） */
.kdw-ringosu__chapter-img--inline {
  margin: 24px 0 0;
}

/* ── インナー ───────────────────────── */
.kdw-ringosu__inner {
  max-width: 760px;
  padding: 0 8px;
  box-sizing: border-box;
}

/* ── セクション ─────────────────────── */
.kdw-ringosu__section {
  margin: 0 0 32px;
}

/* ── カード ─────────────────────────── */
.kdw-ringosu__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 18px 14px;
  margin: 12px 0;
  box-sizing: border-box;
}

/* ── 音声ナレーションカード（テキスト枠の最上部に設置） ─── */
.kdw-ringosu__audio-card {
  background: #fdf3ef;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}
.kdw-ringosu__audio-label {
  font-size: 12px;
  font-weight: 700;
  color: #b8342a;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.kdw-ringosu__audio-card audio {
  width: 100%;
  height: 36px;
  flex: 1;
  min-width: 0;
}

/* ── 中見出し（導入文）：枠＋枠内背景色 ─── */
.kdw-ringosu__lead-card {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #fdf3ef;
  border: 2px solid #b8342a;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}
.kdw-ringosu__lead-card p {
  margin: 0;
}

/* ── チャプター見出しの左上コメント（キッカー） ─── */
.kdw-ringosu__chapter-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 4px 6px;
  color: #b8342a;
}
.kdw-ringosu__chapter-kicker-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.kdw-ringosu__chapter-kicker-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 1px solid currentColor;
}

/* ── チャプター見出し（h2相当） ────────── */
.kdw-ringosu__chapter-heading {
  background: #b8342a;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 0 0 14px;
  line-height: 1.5;
}
.kdw-ringosu__chapter-text {
  flex: 1 1 auto;
}

/* ── セクション見出し（h3相当） ───────── */
.kdw-ringosu__section-heading {
  font-size: 16px;
  font-weight: bold;
  color: #b8342a;
  border-left: 5px solid #b8342a;
  padding: 4px 0 4px 12px;
  margin: 24px 0 10px;
  line-height: 1.5;
  background: none;
}

/* ── 数字バッジ付きリスト見出し ─────── */
.kdw-ringosu__badge-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 24px 0 10px;
  line-height: 1.5;
}
.kdw-ringosu__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b8342a;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  flex-shrink: 0;
  letter-spacing: 0;
}

/* ── TOC（目次） ─────────────────────── */
.kdw-ringosu__toc {
  background: #fff;
  border: 1px solid #b8342a;
  border-radius: 8px;
  padding: 18px 14px;
  margin: 12px 0 24px;
}
.kdw-ringosu__toc-title {
  font-size: 14px;
  font-weight: bold;
  color: #b8342a;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
}
.kdw-ringosu__toc-note {
  font-size: 12px;
  color: #8a6a55;
  text-align: center;
  margin: 0 0 14px;
  padding: 8px 10px;
  background: #fdf3ef;
  border-radius: 6px;
  line-height: 1.7;
}
.kdw-ringosu__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kdw-ringosu__toc-list li {
  border-bottom: 1px dashed #ecd4cd;
  padding: 0;
}
.kdw-ringosu__toc-list li:last-child {
  border-bottom: none;
}
.kdw-ringosu__toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b8342a;
  color: #fff;
  font-size: 10.5px;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  letter-spacing: 0;
}
.kdw-ringosu__toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s;
}
.kdw-ringosu__toc-list a:hover {
  background: #fdf3ef;
  color: #b8342a;
}

/* ── マーカー強調 ───────────────────── */
.kdw-ringosu__marker {
  background: linear-gradient(transparent 50%, rgba(250, 220, 50, 0.55) 50%);
  font-weight: bold;
  color: #333;
}

/* ── 強調テキスト（赤） ───────────────── */
.kdw-ringosu__em {
  color: #b8342a;
  font-weight: bold;
}

/* ── データカード ────────────────────── */
.kdw-ringosu__data-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}
.kdw-ringosu__data-card img {
  width: 100%;
  height: auto;
  display: block;
}
.kdw-ringosu__data-card-body {
  padding: 14px 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #555;
  border-top: 1px solid #eee;
}
.kdw-ringosu__data-card-body p {
  margin: 0;
}

/* ── 折りたたみコラム（デフォルト閉じ／＋ボタンで開く） ─── */
.kdw-ringosu__col {
  border: 1px solid #ecd4cd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin: 14px 0;
}
.kdw-ringosu__col > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  background: #fdf3ef;
  color: #b8342a;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.5;
}
.kdw-ringosu__col > summary::-webkit-details-marker {
  display: none;
}
.kdw-ringosu__colmk {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #b8342a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.kdw-ringosu__colmk::before {
  content: "＋";
}
.kdw-ringosu__col[open] .kdw-ringosu__colmk {
  background: #7a241d;
}
.kdw-ringosu__col[open] .kdw-ringosu__colmk::before {
  content: "－";
}
.kdw-ringosu__colbody {
  padding: 14px 16px 16px;
  border-top: 1px solid #f1dcd5;
}
.kdw-ringosu__colbody img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 0 12px;
}
.kdw-ringosu__colbody p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 10px;
  color: #444;
}
.kdw-ringosu__colbody p:last-child {
  margin-bottom: 0;
}
.kdw-ringosu__colbody hr {
  margin: 14px 0;
}

/* ── 補助ボックス ────────────────────── */
.kdw-ringosu__aux-box {
  background: #fdf3ef;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 14px 12px;
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.kdw-ringosu__aux-box p {
  margin: 0;
}
.kdw-ringosu__aux-box-label {
  font-weight: bold;
  color: #b8342a;
  margin: 0 0 4px;
}

/* ── 仕切り線（本文中の <hr>／標準の破線・アクセント色にはしない） ─── */
.kdw-ringosu__wrap hr {
  border: none;
  border-top: 1px dashed #d4b8a8;
  height: 0;
  margin: 18px 0;
}
.kdw-ringosu__divider {
  border: none;
  border-top: 1px dashed #d4b8a8;
  margin: 20px 0;
}

/* ── カード内 p タグリセット ─────────── */
.kdw-ringosu__card p,
.kdw-ringosu__aux-box p,
.kdw-ringosu__data-card-body p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.9;
}
.kdw-ringosu__card p:last-child,
.kdw-ringosu__aux-box p:last-child,
.kdw-ringosu__data-card-body p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CSSだけの図解（写真の代わり／補助として章見出し付近に置く）
   すべて .kdw-ringosu__diagram の中に入れる・画像ファイル不使用
   ========================================================= */
.kdw-ringosu__diagram {
  background: #fdf3ef;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 18px 14px 16px;
  margin: 0 0 20px;
}
.kdw-ringosu__diagram-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #a8322b;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.5;
}
.kdw-ringosu__diagram-note {
  font-size: 11.5px;
  color: #8f6a5a;
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* 共通アイコン（丸地＋中央にSVG） */
.kdw-ringosu__dg-icon {
  flex: none;
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f6dcd6 no-repeat center / 24px 24px;
}
.kdw-ringosu__dg-icon--neutral { background-color: #efe7e1; }
.kdw-ringosu__dg-icon--apple   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8.5c1.8-2.3 6-2 6 2 0 4-2.7 9-6 9s-6-5-6-9c0-4 4.2-4.3 6-2z'/%3E%3Cpath d='M12 8.5V5c0-1.4 1-2.5 3-2.5'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--bottle  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2.5h4v2.5l1.3 3v12a1 1 0 0 1-1 1h-4.6a1 1 0 0 1-1-1v-12L10 5z'/%3E%3Cpath d='M9.2 12h5.6'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--heart   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-6.5-4.2-6.5-9A3.5 3.5 0 0 1 12 8.8 3.5 3.5 0 0 1 18.5 11c0 4.8-6.5 9-6.5 9z'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--funnel  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7a6c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-6 7v6l-4 2v-8z'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--microbe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='10.5' cy='11' r='.8'/%3E%3Ccircle cx='13.5' cy='12.5' r='.8'/%3E%3Cpath d='M12 7V4M12 20v-3M7 12H4M20 12h-3M8.1 8.1 6 6M18 18l-2.1-2.1M15.9 8.1 18 6M6 18l2.1-2.1'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--nigori  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5c3 4 5.5 7 5.5 10.5a5.5 5.5 0 0 1-11 0C6.5 10.5 9 7.5 12 3.5z'/%3E%3Ccircle cx='10.5' cy='13' r='.7'/%3E%3Ccircle cx='13' cy='15' r='.7'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--leaf    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19C5 10 10 5 20 4c-1 10-6 15-15 15z'/%3E%3Cpath d='M5 19l8-8'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--spark   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--ruler   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='6' rx='1'/%3E%3Cpath d='M7 9v2.5M11 9v3M15 9v2.5M19 9v3'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--droplet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5c3 4 5.5 7 5.5 10.5a5.5 5.5 0 0 1-11 0C6.5 10.5 9 7.5 12 3.5z'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--body    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.2'/%3E%3Cpath d='M8.5 21c0-3.5 1-7 3.5-7s3.5 3.5 3.5 7'/%3E%3Cpath d='M8.8 13.5h6.4'/%3E%3C/svg%3E"); }
.kdw-ringosu__dg-icon--target  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8342a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.3'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }

/* 矢印・キャプション */
.kdw-ringosu__dg-arrow {
  text-align: center;
  color: #b8342a;
  font-size: 13px;
  line-height: 1;
  margin: 8px 0;
}
.kdw-ringosu__dg-cap {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #8f6a5a;
  margin: 2px 0 6px;
  line-height: 1.5;
}

/* 縦フロー */
.kdw-ringosu__dg-flow { max-width: 460px; margin: 0 auto; }
.kdw-ringosu__dg-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 12px 14px;
}
.kdw-ringosu__dg-step--accent { border: 2px solid #b8342a; }
.kdw-ringosu__dg-step--center { justify-content: center; text-align: center; }
/* 中央揃えボックスは左アイコンを出さない（中心からずれて見えるため） */
.kdw-ringosu__dg-step--center .kdw-ringosu__dg-icon { display: none; }
.kdw-ringosu__dg-body { font-size: 12.5px; color: #555; line-height: 1.55; }
.kdw-ringosu__dg-body strong { display: block; font-size: 16px; color: #333; line-height: 1.4; }
.kdw-ringosu__dg-step--accent .kdw-ringosu__dg-body strong { color: #a8322b; }

/* 2カラム対比 */
.kdw-ringosu__dg-vs { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.kdw-ringosu__dg-col {
  flex: 1 1 0;
  background: #fff;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}
.kdw-ringosu__dg-col--keep { border: 2px solid #b8342a; background: #fff7f4; }
.kdw-ringosu__dg-col .kdw-ringosu__dg-icon { display: flex; margin: 0 auto 8px; }
.kdw-ringosu__dg-col-ttl { font-size: 13.5px; font-weight: 700; color: #8a7a6c; line-height: 1.4; margin: 0 0 6px; }
.kdw-ringosu__dg-col--keep .kdw-ringosu__dg-col-ttl { color: #a8322b; }
.kdw-ringosu__dg-col-sub { font-size: 12px; color: #666; line-height: 1.55; }
.kdw-ringosu__dg-col-sub b { color: #b8342a; font-weight: 700; }

/* ゴール帯 */
.kdw-ringosu__dg-goal {
  max-width: 460px;
  margin: 0 auto;
  background: #b8342a;
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.kdw-ringosu__dg-goal small { display: block; font-size: 12px; font-weight: 700; margin: 3px 0 0; color: #f6d8d2; }

/* 中間ボックス */
.kdw-ringosu__dg-mid {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
  font-size: 12.5px;
  color: #555;
  line-height: 1.6;
}
.kdw-ringosu__dg-mid strong { display: block; font-size: 15px; color: #a8322b; line-height: 1.5; }

/* 2×2グリッド（対象） */
.kdw-ringosu__dg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.kdw-ringosu__dg-cell {
  background: #fff;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #7a4a44;
  line-height: 1.4;
}
.kdw-ringosu__dg-cell .kdw-ringosu__dg-icon {
  display: flex;
  margin: 0 auto 6px;
  width: 34px;
  height: 34px;
  background-size: 20px 20px;
}

/* ===== モバイル：画面端の余白を狭める ===== */
@media screen and (max-width: 600px) {
  .kdw-ringosu__wrap {
    padding: 0 4px;
  }
  .kdw-ringosu__inner {
    padding: 0 4px;
  }
  .kdw-ringosu__diagram { padding: 16px 10px 14px; }
  .kdw-ringosu__dg-step { padding: 11px 11px; gap: 10px; }
}
