/* =========================================
   こだわり商品研究所 商品ページ
   商品: きくいもの里（山形県長井）きくいも粉末
   ベース: kdw-master-pattern.css（マスターパターン）
   BEMプレフィックス: kdw-kikuimo__
   カラーテイスト: 菊の花系（やわらかい黄 × 温かいベージュ）
   ========================================= */

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

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

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

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

.kdw-kikuimo__chapter-img {
  width: 100%;
  display: block;
  margin: 0 0 20px;
  background: none;
}
.kdw-kikuimo__chapter-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.kdw-kikuimo__chapter-img--inline {
  margin: 24px 0 0;
}

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

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

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

/* ── 音声ナレーションカード ─── */
.kdw-kikuimo__audio-card {
  background: #fdf6e2;
  border: 1px solid #ead9b3;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}
.kdw-kikuimo__audio-label {
  font-size: 12px;
  font-weight: 700;
  color: #c08a1a;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.kdw-kikuimo__audio-card audio {
  width: 100%;
  height: 36px;
  flex: 1;
  min-width: 0;
}

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

/* ── チャプターキッカー ─── */
.kdw-kikuimo__chapter-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 4px 6px;
  color: #c08a1a;
}
.kdw-kikuimo__chapter-kicker-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.kdw-kikuimo__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;
}
.kdw-kikuimo__chapter-kicker--green {
  color: #2e7d4f;
}
.kdw-kikuimo__chapter-kicker--navy {
  color: #2c4a7a;
}

/* ── チャプター見出し（h2相当） ────────── */
.kdw-kikuimo__chapter-heading {
  background: #c08a1a;
  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-kikuimo__chapter-text {
  flex: 1 1 auto;
}

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

/* ── 数字バッジ付きリスト見出し ─────── */
.kdw-kikuimo__badge-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #3a342a;
  margin: 24px 0 10px;
  line-height: 1.5;
}
.kdw-kikuimo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c08a1a;
  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-kikuimo__toc {
  background: #fff;
  border: 1px solid #c08a1a;
  border-radius: 8px;
  padding: 18px 14px;
  margin: 12px 0 24px;
}
.kdw-kikuimo__toc-title {
  font-size: 14px;
  font-weight: bold;
  color: #c08a1a;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
}
.kdw-kikuimo__toc-note {
  font-size: 12px;
  color: #8a6e3a;
  text-align: center;
  margin: 0 0 14px;
  padding: 8px 10px;
  background: #fdf6e2;
  border-radius: 6px;
  line-height: 1.7;
}
.kdw-kikuimo__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kdw-kikuimo__toc-list li {
  border-bottom: 1px dashed #ead9b3;
  padding: 0;
}
.kdw-kikuimo__toc-list li:last-child {
  border-bottom: none;
}
.kdw-kikuimo__toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c08a1a;
  color: #fff;
  font-size: 10.5px;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  letter-spacing: 0;
}
.kdw-kikuimo__toc-num--green {
  background: #2e7d4f;
}
.kdw-kikuimo__toc-num--navy {
  background: #2c4a7a;
}

/* ── 目次リンク（行全体クリック・通常時は無色） ─── */
.kdw-kikuimo__toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  text-decoration: none;
  color: #3a342a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s;
}
.kdw-kikuimo__toc-list a:hover {
  background: #fdf6e2;
  color: #c08a1a;
}

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

/* ── 強調テキスト ───────────────── */
.kdw-kikuimo__em {
  color: #c0501a;
  font-weight: bold;
}
.kdw-kikuimo__em-deep {
  color: #8a3a14;
  font-weight: bold;
}

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

/* ── 折りたたみコラム ────────────────── */
.kdw-kikuimo__col {
  border: 1px solid #ead9b3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin: 14px 0;
}
.kdw-kikuimo__col > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  background: #fdf6e2;
  color: #c08a1a;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.5;
}
.kdw-kikuimo__col > summary::-webkit-details-marker {
  display: none;
}
.kdw-kikuimo__colmk {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c08a1a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.kdw-kikuimo__colmk::before {
  content: "＋";
}
.kdw-kikuimo__col[open] .kdw-kikuimo__colmk {
  background: #8a5a0e;
}
.kdw-kikuimo__col[open] .kdw-kikuimo__colmk::before {
  content: "－";
}
.kdw-kikuimo__colbody {
  padding: 14px 16px 16px;
  border-top: 1px solid #f0e3c2;
}
.kdw-kikuimo__colbody img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 0 12px;
}
.kdw-kikuimo__colbody p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 10px;
  color: #444;
}
.kdw-kikuimo__colbody p:last-child {
  margin-bottom: 0;
}
.kdw-kikuimo__colbody hr {
  margin: 14px 0;
}

/* コラム：グリーン系 */
.kdw-kikuimo__col--green > summary {
  background: #eaf5ee;
  color: #2e7d4f;
}
.kdw-kikuimo__col--green .kdw-kikuimo__colmk {
  background: #2e7d4f;
}
.kdw-kikuimo__col--green[open] .kdw-kikuimo__colmk {
  background: #1e5636;
}

/* コラム：ネイビー系 */
.kdw-kikuimo__col--navy > summary {
  background: #eef2f8;
  color: #2c4a7a;
}
.kdw-kikuimo__col--navy .kdw-kikuimo__colmk {
  background: #2c4a7a;
}
.kdw-kikuimo__col--navy[open] .kdw-kikuimo__colmk {
  background: #1c3155;
}

/* ── 補助ボックス ────────────────────── */
.kdw-kikuimo__aux-box {
  background: #fdf6e2;
  border: 1px solid #ead9b3;
  border-radius: 8px;
  padding: 14px 12px;
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.kdw-kikuimo__aux-box p {
  margin: 0;
}
.kdw-kikuimo__aux-box p + p {
  margin-top: 8px;
}

/* ── 仕切り線 ─── */
.kdw-kikuimo__wrap hr {
  border: none;
  border-top: 1px dashed #d4b892;
  height: 0;
  margin: 18px 0;
}
.kdw-kikuimo__divider {
  border: none;
  border-top: 1px dashed #d4b892;
  margin: 20px 0;
}

/* ── グリーン系（紹介する理由セクション） ─── */
.kdw-kikuimo__chapter-heading--green {
  background: #2e7d4f;
}
.kdw-kikuimo__badge--green {
  background: #2e7d4f;
}

/* ── ネイビー系（データ・仕様セクション） ─── */
.kdw-kikuimo__chapter-heading--navy {
  background: #2c4a7a;
}
.kdw-kikuimo__section-heading--navy {
  color: #2c4a7a;
  border-left-color: #2c4a7a;
}

/* ── カード内 p タグリセット ─────────── */
.kdw-kikuimo__card p,
.kdw-kikuimo__aux-box p,
.kdw-kikuimo__data-card-body p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #3a342a;
}
.kdw-kikuimo__card p:last-child,
.kdw-kikuimo__aux-box p:last-child,
.kdw-kikuimo__data-card-body p:last-child {
  margin-bottom: 0;
}

/* ── 商品仕様テーブル ─── */
.kdw-kikuimo__spec {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: #fff;
  border: 1px solid #ead9b3;
  border-radius: 8px;
  overflow: hidden;
}
.kdw-kikuimo__spec th,
.kdw-kikuimo__spec td {
  padding: 12px 10px;
  font-size: 14.5px;
  line-height: 1.7;
  text-align: left;
  border-bottom: 1px solid #ead9b3;
  vertical-align: top;
  color: #3a342a;
}
.kdw-kikuimo__spec th {
  width: 32%;
  background: #fdf6e2;
  color: #6e4e0e;
  font-weight: bold;
  border-right: 1px solid #ead9b3;
  white-space: nowrap;
}
.kdw-kikuimo__spec tr:last-child th,
.kdw-kikuimo__spec tr:last-child td {
  border-bottom: 0;
}

/* ── ステップカード（お召し上がり方） ─── */
.kdw-kikuimo__step {
  background: #fdf6e2;
  border: 1px solid #ead9b3;
  border-radius: 8px;
  padding: 14px 14px;
  margin: 0 0 12px;
}
.kdw-kikuimo__step-head {
  margin: 0 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px dashed #d4b892;
  font-size: 15.5px;
  font-weight: bold;
  color: #6e4e0e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kdw-kikuimo__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c08a1a;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  min-width: 46px;
  height: 20px;
  padding: 0 8px;
  flex-shrink: 0;
}
.kdw-kikuimo__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #3a342a;
}

/* ===== モバイル：画面端の余白を狭める ===== */
@media screen and (max-width: 600px) {
  .kdw-kikuimo__wrap {
    padding: 0 4px;
  }
  .kdw-kikuimo__inner {
    padding: 0 4px;
  }
}
