/* =========================================================
   共通スタイルシート (style.css)
   -----------------------------------------------------
   ■ このCSS 1枚で、全ページ共通で使えます
       - 記事ページ        … index.html（カマグラ レビュー記事）
       - カテゴリーページ  … ed / aga / pill / diet / beauty .html
   ■ 特徴
       - 薬局／クリニックを意識した清潔感のある白基調デザイン
       - スマホ・PC両対応（レスポンシブ）
       - CTR（クリック率）を意識したボタン設計
   ■ 編集のヒント
       - 色を変えたい → すぐ下の「:root（カラー設定）」を書き換えるだけ
   ========================================================= */

/* =====================================================
   ▼▼ 共通パーツ（全ページで使用）▼▼
   ===================================================== */

/* -----------------------------------------------------
   1. カラー・共通設定（ここを変えると全ページの色が変わります）
   ----------------------------------------------------- */
:root {
  --color-main:   #0a9d8e;   /* メインカラー（クリニックらしい爽やかなグリーン） */
  --color-main-d: #077a6e;   /* メインカラーの濃い版（ホバー時など） */
  --color-accent: #ff7043;   /* アクセント（ボタン用オレンジ＝目立つ色） */
  --color-accent-d:#e85a2c;  /* アクセントの濃い版 */
  --color-text:   #333333;   /* 基本の文字色 */
  --color-sub:    #6b7280;   /* 補足テキストの色 */
  --color-bg:     #f4faf9;   /* 背景色（ほんのり色づいた白） */
  --color-line:   #e2e8f0;   /* 罫線・枠線の色 */
  --radius:       12px;      /* 角丸の大きさ */
  --shadow:       0 4px 16px rgba(0,0,0,0.06); /* 影 */
  --width:        820px;     /* 記事本文の最大幅（読みやすさ重視） */
  --width-list:   980px;     /* カテゴリー一覧の最大幅（少し広め） */
}

/* -----------------------------------------------------
   2. リセット・ベース設定
   ----------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-main-d); }

/* -----------------------------------------------------
   3. ヘッダー（ロゴ＋メニュー）※全ページ共通
   ----------------------------------------------------- */
.header {
  background: #ffffff;
  border-bottom: 3px solid var(--color-main);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header__inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--color-main-d);
  text-decoration: none; white-space: nowrap;
}
.logo__mark {  /* ＋マークの丸アイコン（医療イメージ） */
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: var(--color-main);
  color: #fff; border-radius: 50%; font-size: 20px;
}
.gnav ul { display: flex; gap: 20px; list-style: none; }
.gnav a {
  color: var(--color-text); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color .2s;
}
.gnav a:hover { color: var(--color-main); }
.gnav a.is-active { color: var(--color-main); font-weight: 700; } /* 現在のカテゴリを強調 */

/* -----------------------------------------------------
   4. パンくずリスト（現在地表示）※全ページ共通
   ----------------------------------------------------- */
.breadcrumb { font-size: 12px; color: var(--color-sub); }
.breadcrumb a { color: var(--color-sub); text-decoration: none; }
/* カテゴリーページで単独設置する場合のレイアウト */
.breadcrumb--page { max-width: var(--width-list); margin: 0 auto; padding: 14px 20px 0; }

/* -----------------------------------------------------
   5. フッター ※全ページ共通
   ----------------------------------------------------- */
.footer { background: #1f2a37; color: #cbd5e1; padding: 40px 20px 24px; margin-top: 40px; }
.footer__inner { max-width: 1100px; margin: 0 auto; }
.footer__nav {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none; margin-bottom: 24px;
}
.footer__nav a { color: #cbd5e1; text-decoration: none; font-size: 14px; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__note { font-size: 12px; color: #94a3b8; line-height: 1.8; margin-bottom: 16px; }
.copyright { font-size: 12px; color: #64748b; text-align: center; border-top: 1px solid #374151; padding-top: 16px; }

/* -----------------------------------------------------
   6. ボタン共通（CTAで使用）
   ----------------------------------------------------- */
.btn {
  display: block; width: 100%; max-width: 420px; margin: 0 auto;
  padding: 18px 20px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-d) 100%);
  color: #fff; font-size: 19px; font-weight: 700;
  text-align: center; text-decoration: none; border-radius: 999px;
  box-shadow: 0 6px 0 #c94a1f;   /* 立体感のある影＝押したくなる見た目 */
  transition: transform .1s, box-shadow .1s;
  animation: pulse 1.8s infinite; /* ゆっくり脈打つアニメで注目を集める */
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #c94a1f; }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 #c94a1f; }
.btn small { display:block; font-size: 12px; font-weight: 500; opacity: .95; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 0 #c94a1f, 0 0 0 0 rgba(255,112,67,.5); }
  50%      { box-shadow: 0 6px 0 #c94a1f, 0 0 0 12px rgba(255,112,67,0); }
}


/* =====================================================
   ▼▼ 記事ページ用（index.html）▼▼
   ===================================================== */

/* -----------------------------------------------------
   7. アイキャッチ（ヒーロー：記事タイトル＋メイン画像）
   ----------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  padding: 36px 20px 8px;
}
.hero__inner { max-width: var(--width); margin: 0 auto; }
.hero__title { font-size: 28px; font-weight: 700; line-height: 1.5; margin: 14px 0; }
.hero__title .marker { background: linear-gradient(transparent 60%, #ffe9a8 60%); } /* 蛍光ペン風 */
.hero__meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 13px; color: var(--color-sub); margin-bottom: 20px;
}
.badge { background: var(--color-main); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* -----------------------------------------------------
   8. 記事本文（ブログ風エリア）
   ----------------------------------------------------- */
.article { max-width: var(--width); margin: 0 auto; padding: 30px 20px 60px; }
.lead { font-size: 16px; margin-bottom: 30px; }

/* H2見出し（大見出し） */
.article h2 {
  font-size: 23px; font-weight: 700; color: var(--color-main-d); line-height: 1.5;
  margin: 46px 0 20px; padding: 14px 8px 14px 18px; background: #ffffff;
  border-left: 6px solid var(--color-main); border-bottom: 2px solid var(--color-line); border-radius: 6px;
}
/* H2直下の画像枠 */
.h2-image {
  margin: 0 0 26px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #eef2f1;
}
.h2-image img { width: 100%; }
/* H3見出し（小見出し） */
.article h3 {
  font-size: 19px; font-weight: 700; color: var(--color-text);
  margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px dotted var(--color-main);
}
.article p { margin-bottom: 18px; }
.article strong { color: var(--color-accent-d); font-weight: 700; }

/* チェックリスト */
.article ul.check {
  list-style: none; margin: 0 0 24px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
}
.article ul.check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.article ul.check li:last-child { margin-bottom: 0; }
.article ul.check li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--color-main); font-weight: 700; }
/* デメリット用（赤い×印）：<ul class="check cons"> のように併用します */
.article ul.check.cons li::before { content: "✕"; color: #e11d48; }

/* -----------------------------------------------------
   9. CTAボックス（記事内でクリックを促すエリア）
   ----------------------------------------------------- */
.cta {
  margin: 36px 0; padding: 26px 22px; text-align: center; background: #fff;
  border: 2px solid var(--color-main); border-radius: var(--radius); box-shadow: var(--shadow);
}
.cta__label {
  display: inline-block; background: var(--color-accent); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.cta__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cta__price { font-size: 15px; color: var(--color-sub); margin-bottom: 18px; }
.cta__price em { font-style: normal; font-size: 26px; font-weight: 700; color: var(--color-accent-d); }
/* CTA内の商品画像リスト（取扱い商品を並べて見せる） */
.cta__products {
  list-style: none; padding: 0; margin: 4px 0 20px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
}
.cta__product {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 150px; padding: 10px 10px 12px;
  background: #fff; border: 1px solid var(--color-line); border-radius: 12px; box-shadow: var(--shadow);
}
.cta__product img { width: 100%; height: auto; border-radius: 8px; display: block; }
.cta__product span { font-size: 14px; font-weight: 700; color: var(--color-main-d); }
@media (max-width: 520px) { .cta__product { width: 44%; } }
/* CTA：商品画像を1枚だけ大きく載せる単品レイアウト */
.cta--single { display: flex; align-items: center; gap: 24px; text-align: left; }
.cta--single .cta__photo { flex: 0 0 200px; width: 200px; margin: 0; }
.cta--single .cta__photo img {
  width: 100%; border-radius: 12px; border: 1px solid var(--color-line); display: block;
}
.cta--single .cta__body { flex: 1 1 auto; min-width: 0; }
.cta--single .cta__title, .cta--single .cta__price { text-align: left; }
.cta--single .btn { margin: 14px 0 0; }
@media (max-width: 600px) {
  .cta--single { flex-direction: column; text-align: center; gap: 16px; }
  .cta--single .cta__photo { flex: none; width: 62%; max-width: 240px; }
  .cta--single .cta__body { width: 100%; }
  .cta--single .cta__title, .cta--single .cta__price { text-align: center; }
  .cta--single .btn { margin: 14px auto 0; }
}
.coupon {
  display: inline-block; margin-top: 14px; padding: 8px 18px;
  border: 2px dashed var(--color-main); border-radius: 8px; font-weight: 700;
  letter-spacing: 2px; color: var(--color-main-d); background: #f0fbf9;
}

/* -----------------------------------------------------
   10. 比較テーブル（販売店の比較など）
   ----------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 0 0 26px; } /* スマホで横スクロール可能に */
.compare {
  width: 100%; border-collapse: collapse; background: #fff; min-width: 480px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--color-line); font-size: 14px; }
.compare thead th { background: var(--color-main); color: #fff; font-weight: 700; }
.compare tbody th { background: #f0fbf9; color: var(--color-main-d); font-weight: 700; }
.compare tbody .best { background: #fff7ed; }           /* おすすめ列（本文セル）を薄オレンジで強調 */
.compare thead th.best { background: var(--color-accent); color: #fff; } /* おすすめ列の見出しはアクセント色 */
.compare .star { color: #f5b301; }

/* -----------------------------------------------------
   11. 口コミ・レビューカード / Q&A
   ----------------------------------------------------- */
.review {
  display: flex; gap: 14px; padding: 18px; margin-bottom: 16px;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
}
.review__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-main); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review__body { flex: 1; }
.review__name { font-size: 13px; color: var(--color-sub); margin-bottom: 4px; }
.review__stars { color: #f5b301; font-size: 14px; }

.faq { margin-bottom: 16px; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.faq__q { background: #f0fbf9; padding: 14px 16px 14px 46px; position: relative; font-weight: 700; }
.faq__q::before { content: "Q"; position: absolute; left: 16px; color: var(--color-main-d); }
.faq__a { padding: 14px 16px 14px 46px; position: relative; background: #fff; }
.faq__a::before { content: "A"; position: absolute; left: 16px; color: var(--color-accent-d); font-weight: 700; }


/* =====================================================
   ▼▼ カテゴリーページ用（ed/aga/pill/diet/beauty.html）▼▼
   ===================================================== */

/* -----------------------------------------------------
   12. ページ見出し（カテゴリー名のバナー）
   ----------------------------------------------------- */
.page-head {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-d) 100%);
  color: #fff; text-align: center; padding: 40px 20px;
}
.page-head__title { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.page-head__sub { font-size: 15px; opacity: .92; }

/* -----------------------------------------------------
   13. 商品カード一覧（1カラム／画像は左、情報は右）
   ----------------------------------------------------- */
.list { max-width: var(--width-list); margin: 0 auto; padding: 24px 20px 50px; }
.list__lead { margin-bottom: 24px; color: var(--color-text); }

/* 1件分のカード（全体をaタグにしてクリックしやすく） */
.card {
  display: flex; gap: 20px; background: #fff;
  border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; margin-bottom: 18px; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.10); } /* ホバーで浮く */
.card__thumb { flex: 0 0 200px; width: 200px; border-radius: 8px; overflow: hidden; background: #eef2f1; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { flex: 1; display: flex; flex-direction: column; }
.card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--color-sub); margin-bottom: 8px; }
.card__label { background: var(--color-main); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--color-main-d); margin-bottom: 8px; }
.card__desc { font-size: 14px; color: var(--color-text); margin-bottom: 14px; }
.card__desc .ingredient { color: var(--color-accent-d); font-weight: 700; } /* 有効成分を強調 */
/* 詳しく見る（Read More）ボタン */
.card__more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-d) 100%);
  color: #fff; font-size: 14px; font-weight: 700; padding: 9px 20px; border-radius: 999px;
  box-shadow: 0 3px 0 #c94a1f;
}
.card:hover .card__more { filter: brightness(1.05); }
.card__more::after { content: "▶"; font-size: 10px; }


/* =====================================================
   ▼▼ トップページ用（index.html）▼▼
   ===================================================== */

/* -----------------------------------------------------
   14. メインビジュアル（トップ最上部のキービジュアル）
   ----------------------------------------------------- */
.top-hero {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-d) 100%);
  color: #fff; text-align: center; padding: 56px 20px;
}
.top-hero__title { font-size: 32px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.top-hero__sub { font-size: 16px; opacity: .95; margin-bottom: 24px; }
/* メインビジュアル内のボタン（例：人気ランキングへ誘導） */
.top-hero .btn { max-width: 340px; animation: none; } /* ここでは脈打ちアニメは切っておく */

/* -----------------------------------------------------
   15. セクション共通（見出し＋中身の枠）
   ----------------------------------------------------- */
.section { max-width: var(--width-list); margin: 0 auto; padding: 40px 20px; }
.section__head {
  text-align: center; font-size: 24px; font-weight: 700;
  color: var(--color-main-d); margin-bottom: 6px;
}
.section__head .en {  /* 見出しの下に添える英語ラベル（装飾） */
  display: block; font-size: 12px; letter-spacing: 2px; color: var(--color-main);
  font-weight: 500; margin-top: 4px;
}
.section__lead { text-align: center; color: var(--color-sub); font-size: 14px; margin-bottom: 28px; }

/* -----------------------------------------------------
   16. カテゴリーカードのグリッド（トップのカテゴリー一覧）
   ----------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは横3列 */
  gap: 18px;
}
/* カテゴリーカード（全体をリンクに） */
.cat-card {
  background: #fff; border: 1px solid var(--color-line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.cat-card__thumb { aspect-ratio: 16 / 9; background: #eef2f1; }
.cat-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.cat-card__title {
  font-size: 18px; font-weight: 700; color: var(--color-main-d); margin-bottom: 6px;
}
.cat-card__desc { font-size: 13px; color: var(--color-sub); margin-bottom: 14px; flex: 1; }
.cat-card__more {  /* 「一覧を見る」リンク */
  align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--color-accent-d);
}
.cat-card__more::after { content: " ▶"; font-size: 10px; }

/* -----------------------------------------------------
   17. 注目記事・ランキング（背景を敷いて区切る）
   ----------------------------------------------------- */
.section--tint { background: #ffffff; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
/* ランキング番号バッジ（カード左上に重ねる） */
.rank { position: relative; }
.rank__num {
  position: absolute; top: -8px; left: -8px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.rank:nth-child(1) .rank__num { background: #f5b301; } /* 1位＝金 */
.rank:nth-child(2) .rank__num { background: #9aa4b2; } /* 2位＝銀 */
.rank:nth-child(3) .rank__num { background: #cd7f32; } /* 3位＝銅 */


/* =====================================================
   ▼▼ 固定ページ用（運営者情報・プライバシー・免責・お問い合わせ・サイトマップ）▼▼
   ===================================================== */

/* -----------------------------------------------------
   18. 運営者情報などの表（項目名＋内容）
   ----------------------------------------------------- */
.info-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--color-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px;
}
.info-table th, .info-table td {
  padding: 14px 16px; text-align: left; font-size: 15px;
  border-bottom: 1px solid var(--color-line); vertical-align: top;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th {  /* 左側の項目名 */
  width: 32%; background: #f0fbf9; color: var(--color-main-d); font-weight: 700;
  white-space: nowrap;
}

/* -----------------------------------------------------
   19. お問い合わせフォーム
   ----------------------------------------------------- */
.form {
  background: #fff; border: 1px solid var(--color-line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px;
}
.form__row { margin-bottom: 20px; }
.form label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.form label .req { color: #e11d48; font-size: 12px; margin-left: 6px; } /* 必須マーク */
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  color: var(--color-text); background: #fff;
  border: 1px solid var(--color-line); border-radius: 8px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(10,157,142,.15);
}
.form textarea { min-height: 150px; resize: vertical; }
/* 送信ボタン（btnを流用しつつ、フォーム用に調整） */
.form button.btn { border: none; cursor: pointer; margin-top: 6px; }

/* 補足メッセージ（送信は実装が必要な旨など） */
.note-box {
  background: #f0fbf9; border: 1px solid var(--color-main);
  border-radius: var(--radius); padding: 16px 18px; font-size: 14px;
  color: var(--color-main-d); margin-bottom: 24px;
}

/* -----------------------------------------------------
   20. サイトマップのリンク一覧
   ----------------------------------------------------- */
.link-list { list-style: none; margin: 0 0 26px; }
.link-list li { border-bottom: 1px dashed var(--color-line); }
.link-list a {
  display: block; padding: 12px 6px 12px 22px; position: relative;
  text-decoration: none; color: var(--color-text); font-size: 15px;
}
.link-list a:hover { color: var(--color-main); }
.link-list a::before {  /* 先頭の矢印 */
  content: "▶"; position: absolute; left: 4px; top: 14px;
  font-size: 10px; color: var(--color-main);
}


/* =====================================================
   ▼▼ 記事の補助パーツ（目次・関連記事・注記）▼▼
   ===================================================== */

/* -----------------------------------------------------
   21. 目次（記事冒頭のもくじ）
   ----------------------------------------------------- */
.toc {
  background: #fff; border: 1px solid var(--color-line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px; margin: 0 0 34px;
}
.toc__title {
  font-weight: 700; color: var(--color-main-d); font-size: 17px;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--color-line);
}
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin-bottom: 8px; line-height: 1.6; }
.toc li:last-child { margin-bottom: 0; }
.toc a { color: var(--color-text); text-decoration: none; }
.toc a:hover { color: var(--color-main); text-decoration: underline; }

/* 見出しにページ内リンクで飛んだとき、ヘッダーに隠れないよう余白を確保 */
.article h2[id] { scroll-margin-top: 90px; }

/* -----------------------------------------------------
   22. 関連記事（記事末尾の内部リンク）
   ----------------------------------------------------- */
.related {
  background: #f0fbf9; border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: 20px 24px; margin: 34px 0 0;
}
.related__title {
  font-weight: 700; color: var(--color-main-d); font-size: 17px; margin-bottom: 10px;
}
.related .link-list { margin-bottom: 0; }

/* -----------------------------------------------------
   23. 小さな注記テキスト
   ----------------------------------------------------- */
.note-small { font-size: 12px; color: var(--color-sub); margin-bottom: 18px; }


/* =====================================================
   ▼▼ レスポンシブ対応（スマホ ： 画面幅768px以下）▼▼
   ===================================================== */
@media (max-width: 768px) {
  body { font-size: 15px; }

  /* ヘッダーメニューは横スクロール表示（共通） */
  .header__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gnav { width: 100%; overflow-x: auto; }
  .gnav ul { gap: 16px; padding-bottom: 4px; }
  .gnav a { white-space: nowrap; }

  /* 記事ページ */
  .hero__title { font-size: 22px; }
  .article h2 { font-size: 20px; }
  .article h3 { font-size: 17px; }
  .cta__title { font-size: 18px; }
  .btn { font-size: 18px; padding: 16px; }

  /* カテゴリーページ */
  .page-head__title { font-size: 24px; }
  .card { flex-direction: column; gap: 14px; }        /* 画像を上、情報を下の縦並びに */
  .card__thumb { flex: none; width: 100%; height: 190px; }
  .card__more { align-self: stretch; justify-content: center; } /* ボタンを横いっぱいに */

  /* トップページ */
  .top-hero__title { font-size: 24px; }
  .section__head { font-size: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } /* スマホは横2列 */

  /* 固定ページ：運営者情報の表は項目名の幅を広げて折り返し可に */
  .info-table th { width: 38%; white-space: normal; }
}

/* さらに小さい画面（480px以下）ではカテゴリーカードを1列に */
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   24. お得感CTA（打消し価格→割引）ボタン一式
   -----------------------------------------------------
   ・使い方：HTML側で <div class="cta-deal">…</div> などを設置
   ・バリエーション：--urgent（緊急性）／--pink（女性向け）
   ・別に .cta-mini（横型ミニ）／.cta-sticky（スマホ追従）あり
   ===================================================== */
.cta-deal{max-width:520px;margin:26px auto;background:#fff;border:2px solid #ffd9c2;border-radius:18px;padding:20px 20px 22px;text-align:center;box-shadow:0 10px 26px rgba(232,90,44,.14);position:relative}
.cta-deal__ribbon{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:#e85a2c;color:#fff;font-size:13px;font-weight:800;padding:5px 18px;border-radius:999px;white-space:nowrap;box-shadow:0 4px 10px rgba(232,90,44,.3)}
.cta-deal__photo{width:150px;height:150px;margin:12px auto 2px;background:#fff;border:1px solid #eef2f1;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.cta-deal__photo img{max-width:100%;max-height:100%;object-fit:contain}
.cta-deal__lead{font-size:15px;font-weight:700;color:#e85a2c;margin:10px 0 2px}
.cta-deal__price{display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap;margin:6px 0 4px}
.cta-deal__old{color:#9aa4a2;text-decoration:line-through;text-decoration-color:#e85a2c;text-decoration-thickness:2px;font-size:19px;font-weight:600}
.cta-deal__now{color:#e8351c;font-size:34px;font-weight:900;letter-spacing:-.5px}
.cta-deal__now small{font-size:17px;font-weight:800}
.cta-deal__off{display:inline-block;background:#ffe11a;color:#7a3b00;font-size:14px;font-weight:900;padding:3px 10px;border-radius:8px;transform:rotate(-3deg)}
.cta-deal__save{font-size:13px;color:#5b7370;margin:2px 0 14px}
.cta-deal__save b{color:#e85a2c}
.cta-deal__btn{display:block;background:linear-gradient(180deg,#ff8a4b,#ef5f22);color:#fff;text-decoration:none;font-size:20px;font-weight:800;padding:17px 16px;border-radius:14px;box-shadow:0 6px 0 #c8481a,0 10px 20px rgba(232,90,44,.35);transition:transform .08s,box-shadow .08s;position:relative;overflow:hidden}
.cta-deal__btn:hover{transform:translateY(-1px)}
.cta-deal__btn:active{transform:translateY(4px);box-shadow:0 2px 0 #c8481a,0 4px 10px rgba(232,90,44,.3)}
.cta-deal__btn small{display:block;font-size:12.5px;font-weight:600;opacity:.95;margin-top:3px}
.cta-deal__btn::after{content:"";position:absolute;top:0;left:0;width:60%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:translateX(-200%) skewX(-20deg);animation:cta-shine 3.2s infinite;will-change:transform}
@keyframes cta-shine{0%{transform:translateX(-200%) skewX(-20deg)}55%{transform:translateX(217%) skewX(-20deg)}100%{transform:translateX(217%) skewX(-20deg)}}
.cta-deal__trust{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:13px 0 0;font-size:12.5px;color:#3f5b58}
.cta-deal__trust span{display:inline-flex;align-items:center;gap:4px}
.cta-deal__trust .ck{color:#0a9d8e;font-weight:900}
.cta-deal__note{font-size:11.5px;color:#9aa4a2;margin:10px 0 0}
.cta-deal--urgent{border-color:#f2b8ad}
.cta-deal__timer{display:inline-block;background:#c0392b;color:#fff;font-size:13px;font-weight:800;padding:4px 12px;border-radius:8px;margin:8px 0 2px;animation:cta-blink 1.4s infinite}
@keyframes cta-blink{0%,100%{opacity:1}50%{opacity:.55}}
.cta-deal__stock{font-size:13px;color:#c0392b;font-weight:700;margin:6px 0 0}
.cta-deal__bar{height:8px;background:#f0e0dc;border-radius:999px;overflow:hidden;margin:6px auto 12px;max-width:260px}
.cta-deal__bar i{display:block;height:100%;width:22%;background:linear-gradient(90deg,#ff8a4b,#e8351c)}
.cta-deal--pink{border-color:#f6c9dd;box-shadow:0 10px 26px rgba(236,111,156,.16)}
.cta-deal--pink .cta-deal__ribbon{background:#ec6f9c;box-shadow:0 4px 10px rgba(236,111,156,.3)}
.cta-deal--pink .cta-deal__lead{color:#c94f83}
.cta-deal--pink .cta-deal__now{color:#d6337a}
.cta-deal--pink .cta-deal__old{text-decoration-color:#ec6f9c}
.cta-deal--pink .cta-deal__off{background:#ffe1ef;color:#a3325f}
.cta-deal--pink .cta-deal__btn{background:linear-gradient(180deg,#f487b3,#e05b95);box-shadow:0 6px 0 #b94277,0 10px 20px rgba(236,111,156,.35)}
.cta-deal--pink .cta-deal__btn:active{box-shadow:0 2px 0 #b94277,0 4px 10px rgba(236,111,156,.3)}
.cta-deal--pink .cta-deal__trust .ck{color:#ec6f9c}
.cta-mini{max-width:520px;margin:22px auto;display:flex;align-items:center;gap:14px;background:#fff;border:2px solid #ffd9c2;border-radius:14px;padding:12px 14px}
.cta-mini__price{flex-shrink:0;text-align:center;line-height:1.3}
.cta-mini__old{display:block;color:#9aa4a2;text-decoration:line-through;text-decoration-color:#e85a2c;font-size:13px}
.cta-mini__now{display:block;color:#e8351c;font-size:22px;font-weight:900}
.cta-mini__btn{flex:1;text-align:center;background:linear-gradient(180deg,#ff8a4b,#ef5f22);color:#fff;text-decoration:none;font-weight:800;font-size:16px;padding:14px 10px;border-radius:12px;box-shadow:0 4px 0 #c8481a}
.cta-mini__btn:active{transform:translateY(3px);box-shadow:0 1px 0 #c8481a}
.cta-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(255,255,255,.96);border-top:1px solid #ffd9c2;box-shadow:0 -4px 16px rgba(0,0,0,.08);padding:9px 12px;display:flex;align-items:center;gap:12px}
.cta-sticky__price{flex-shrink:0;line-height:1.2}
.cta-sticky__old{display:block;font-size:11px;color:#9aa4a2;text-decoration:line-through}
.cta-sticky__now{display:block;font-size:18px;font-weight:900;color:#e8351c}
.cta-sticky__btn{flex:1;text-align:center;background:linear-gradient(180deg,#ff8a4b,#ef5f22);color:#fff;text-decoration:none;font-weight:800;font-size:16px;padding:13px 10px;border-radius:10px}
@media(min-width:820px){.cta-sticky{display:none}}

/* -----------------------------------------------------
   25. アニメーション抑制（OS設定の尊重・アクセシビリティ）
   ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
