/* =====================================================
   ポチ前 — 価格比較ブログ　共通スタイル
   Bootstrap 5 ベース / CSS変数で色管理
   ===================================================== */

/* ===== CSS変数 ===== */
:root {
  /* ─── Primary / Teal（ポチのすけの双眼鏡カラー）60%→30% ─── */
  --color-primary:       #4A9EA1;
  --color-primary-dark:  #367A7D;
  --color-primary-light: #6BB5B8;
  --color-primary-bg:    #EBF6F7;

  /* ─── Accent / Orange-Brown（ポチのすけの毛色）10% ─── */
  --color-accent:        #D4803A;
  --color-accent-dark:   #B56A2D;
  --color-accent-light:  #E89A5A;

  /* テキスト・ボーダー */
  --color-text:          #2D2D2D;
  --color-text-muted:    #6C757D;
  --color-border:        #B8D8DA;
  --color-white:         #FFFFFF;

  /* セマンティックカラー */
  --color-success:       #28A745;
  --color-danger:        #DC3545;
  --color-warning:       #FFC107;
  --color-amazon:        #FF9900;
  --color-rakuten:       #BF0000;

  /* シェイプ */
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-card:  0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 20px rgba(74, 158, 161, 0.22);
}

/* ===== ベース ===== */
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', sans-serif;
  background-color: var(--color-primary-bg);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.4;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

img { max-width: 100%; }

/* ===== サイトバナー ===== */
.site-banner-link {
  display: block;
  background-color: var(--color-primary-bg);
  line-height: 0;
  text-align: center;
  padding: 16px 0;
}
.site-banner-img {
  display: block;
  width: 80%;
  max-width: 1268px;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .site-banner-link {
    padding: 0;
  }
  .site-banner-img {
    width: 100%;
    max-width: none;
  }
}

/* ===== ナビゲーションバー ===== */
.navbar-pochi {
  background-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.navbar-pochi .container {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar-pochi .navbar-brand {
  font-weight: 900;
  font-size: 1.45rem;
  color: #fff !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.navbar-pochi .brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  display: block;
  opacity: 0.88;
  margin-top: 1px;
  letter-spacing: 0.02em;
}

.navbar-pochi .brand-big {
  font-size: 1.12em;
  font-weight: 900;
}

.navbar-pochi .brand-ru {
  font-size: 0.45em;
  vertical-align: middle;
}

.navbar-pochi .brand-logo {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 8px;
  vertical-align: middle;
}

.navbar-pochi .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.navbar-pochi .nav-link:hover,
.navbar-pochi .nav-link:focus {
  color: #fff !important;
  text-decoration: none;
}

.navbar-pochi .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
/* タップ後にフォーカスが残っても、閉じた状態では太枠を表示しない。 */
.navbar-pochi .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}
/* 展開中とキーボード操作のフォーカスを白い輪郭で示す。 */
.navbar-pochi .navbar-toggler[aria-expanded="true"],
.navbar-pochi .navbar-toggler:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}
.navbar-pochi .navbar-toggler-icon {
  filter: brightness(10);
}

.navbar-pochi .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ===== お知らせ欄（#0110U p359） ===== */
/* 文言は content_blocks（_common_site / SN_notice）が唯一のソース。空なら生成側で出力されない。
   PC はナビバー直下の帯、モバイルはナビバー行の中（ロゴとハンバーガーの間の余白）に出す。 */
.site-notice {
  background-color: #FFF4E5;
  border-bottom: 1px solid var(--color-accent-light);
}
.site-notice .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.site-notice-label {
  flex: 0 0 auto;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  padding: 0.05rem 0.5rem;
}
.site-notice-body {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  line-height: 1.5;
}

/* ナビバー行の中のお知らせ（モバイル専用） */
.navbar-pochi .navbar-inline-notice {
  display: none;
}
@media (max-width: 991.98px) {
  .site-notice {
    display: none;
  }
  .navbar-pochi .navbar-inline-notice {
    display: block;
    /* flex-basis は 0（auto にすると文言の幅がそのまま行の配置計算に使われ、
       320px 幅の端末でハンバーガーが次の行へ押し出される）。min-width:0 と
       セットで、狭いときは文言側が折り返して1行レイアウトを保つ。 */
    flex: 1 1 0;
    min-width: 0;
    margin: 0 0.6rem;
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
  }
  .navbar-pochi .navbar-inline-notice-label {
    display: inline-block;
    background-color: var(--color-accent);
    border-radius: var(--radius-sm);
    padding: 0.05rem 0.4rem;
    margin-right: 0.35rem;
    font-size: 0.7rem;
  }
  /* お知らせを1行に収めるため、モバイルではナビ行の高さとロゴを詰める */
  .navbar-pochi .container {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
  }
  .navbar-pochi .brand-logo {
    height: 30px;
    width: 30px;
    margin-right: 0;
  }
  .navbar-pochi .navbar-toggler {
    padding: 0.2rem 0.55rem;
    font-size: 0.95rem;
  }
}

/* ===== ヒーローセクション ===== */
.hero-section {
  background: linear-gradient(130deg, var(--color-primary) 0%, #287577 100%);
  color: #fff;
  padding: 3rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--color-primary-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.18);
}

.hero-section .hero-name {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-section .hero-name-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  opacity: 0.92;
  letter-spacing: 0.01em;
}

.hero-section .hero-lead {
  font-size: 1rem;
  opacity: 0.96;
  margin-top: 0.5rem;
}

.hero-mascot {
  max-width: 180px;
  filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.25));
}

.hero-banner-img {
  max-width: 100%;
  width: 720px;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
}

/* ===== セクションタイトル ===== */
.section-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== 記事カード ===== */
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: var(--color-text);
}

.article-card .card-thumb {
  height: 150px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  flex-shrink: 0;
}

.article-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ブランドページ：画像はアフィリエイトリンク・カード本体は記事リンク（ネスト回避） */
.article-card .card-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.article-card .card-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.15s;
}
.article-card .card-thumb-link:hover img {
  opacity: 0.88;
}
.article-card .card-article-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: var(--color-text);
}
.article-card .card-article-link:hover {
  text-decoration: none;
  color: var(--color-text);
}

.article-card .card-body {
  padding: 0.9rem 1rem 1rem;
  flex: 1;
}

.article-card .card-category {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.article-card .card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.article-card .card-date {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

/* ===== ランキング行（トップページ） ===== */
.ranking-row {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s;
  margin-bottom: 0.65rem;
  color: var(--color-text);
}
.ranking-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: var(--color-text);
}

.rank-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.rank-1     { background: #FFD700; color: #664D00; }
.rank-2     { background: #C0C0C0; color: #3A3A3A; }
.rank-3     { background: #CD7F32; color: #fff; }
.rank-other { background: #D0EBEC; color: var(--color-text-muted); font-size: 0.9rem; }

.ranking-row .row-title  { flex: 1; font-size: 0.9rem; font-weight: 700; line-height: 1.45; }
.ranking-row .row-views  { font-size: 0.72rem; color: var(--color-text-muted); white-space: nowrap; }

/* ===== 価格比較テーブル（記事ページ） ===== */
.price-table {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
  border-collapse: separate;
  border-spacing: 0 4px;
  background-color: var(--color-primary-bg);
  table-layout: fixed;
}

.price-table thead th {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border: none;
  white-space: nowrap;
}
.price-table thead tr th:first-child { border-radius: 10px 0 0 0; }
.price-table thead tr th:last-child  { border-radius: 0 10px 0 0; }

.price-table tbody td {
  padding: 0.7rem 1rem;
  vertical-align: middle;
  background-color: var(--color-white);
  overflow-wrap: break-word;
  word-break: break-word;
}

.price-table .recommended-row td { background-color: #F0F9FA; }
.price-table .recommended-row     { font-weight: 700; }

@media (hover: hover) {
  .price-table tbody tr:not(.clickable-row):hover td {
    background-color: var(--color-primary-bg);
  }
}

/* クリッカブル行 — 1行 = 独立したボタン */
.price-table tbody tr.clickable-row {
  cursor: pointer;
}
.price-table tbody tr.clickable-row td {
  background-color: var(--color-white);
  border-top: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
  transition: background-color 0.15s, border-color 0.15s;
}
.price-table tbody tr.clickable-row td:first-child {
  border-left: 2px solid var(--color-border);
  border-radius: 8px 0 0 8px;
  padding-left: 1rem;
}
.price-table tbody tr.clickable-row td:last-child {
  border-right: 2px solid var(--color-border);
  border-radius: 0 8px 8px 0;
}
.price-table tbody tr.clickable-row.recommended-row td {
  background-color: #F0F9FA;
  border-color: var(--color-primary-light);
}
.price-table tbody tr.clickable-row:active td {
  background-color: #B5DCDE !important;
  border-color: var(--color-primary) !important;
  transition: none;
}
@media (hover: hover) {
  .price-table tbody tr.clickable-row:hover td {
    background-color: var(--color-primary-bg) !important;
    border-color: var(--color-primary-light) !important;
  }
}

.price-tag {
  font-weight: 900;
  color: var(--color-danger);
  font-size: 1.05rem;
}

.price-best-badge {
  font-size: 0.65rem;
  background: var(--color-success);
  color: #fff;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  font-weight: 700;
  vertical-align: middle;
}

.price-loading {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ===== ランキングカード（記事内） ===== */
.rank-item-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.rank-item-card .rank-num {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.rank-item-card.rank-gold   { border-top: 4px solid #FFD700; }
.rank-item-card.rank-silver { border-top: 4px solid #C0C0C0; }
.rank-item-card.rank-bronze { border-top: 4px solid #CD7F32; }

.rank-item-card .product-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.rank-item-card .spec-list {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.rank-item-card .spec-list dt { font-weight: 700; color: var(--color-text); }

.buy-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ===== ボタン ===== */
.btn-pochi {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  transition: background-color 0.18s, transform 0.12s;
}
.btn-pochi:hover { background-color: var(--color-accent-dark); color: #fff; transform: translateY(-1px); }

.btn-pochi-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  transition: all 0.18s;
}
.btn-pochi-outline:hover { background-color: var(--color-accent); color: #fff; }

.btn-amazon {
  background-color: var(--color-amazon);
  color: #111;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}
.btn-amazon:hover { background-color: #E8890A; color: #111; }

.btn-rakuten {
  background-color: var(--color-rakuten);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}
.btn-rakuten:hover { background-color: #A00000; color: #fff; }

/* ===== バッジ ===== */
.badge-new {
  background: var(--color-danger);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
}

.badge-sale {
  background: var(--color-success);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.badge-category {
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  transition: background-color 0.15s;
}
.badge-category:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}

/* ===== サイドバー ===== */
.sidebar-widget {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-card);
}

.sidebar-widget .widget-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--color-primary-light);
}

.sidebar-article {
  display: flex;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #C8E6E7;
  color: inherit;
  align-items: flex-start;
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article:hover { color: var(--color-primary-dark); text-decoration: none; }

.sidebar-article .thumb {
  width: 56px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, #A8D8DA 0%, #78BCBF 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  overflow: hidden;
}

.sidebar-article .thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

.sidebar-article .title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

/* ===== ノーティス / インフォボックス ===== */
.pochi-notice {
  background: var(--color-primary-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
}

.info-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.info-box .info-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

/* ===== 円グラフ（ブランドページ 出品シェア） ===== */
.pie-chart-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.pochi-pie {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.pie-legend {
  flex: 1;
  min-width: 160px;
}

.pie-legend-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pie-legend ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.7;
}

.pie-swatch {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  border-radius: 2px;
  margin-right: 0.35em;
  vertical-align: -0.05em;
}

.pie-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

/* ===== パンくず ===== */
.breadcrumb-pochi {
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  margin-bottom: 0;
}
.breadcrumb-pochi .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--color-text-muted);
}

/* ===== パンくず（ヒーローセクション直前用。about/privacy/shipping等、
   #0110U p304: 上下（ナビ・ヒーロー）と同色にして分断されないようにする） ===== */
.breadcrumb-pochi-hero-wrap {
  background: var(--color-primary);
}
.breadcrumb-pochi-hero-wrap .breadcrumb-pochi .breadcrumb-item,
.breadcrumb-pochi-hero-wrap .breadcrumb-pochi .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb-pochi-hero-wrap .breadcrumb-pochi .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb-pochi-hero-wrap .breadcrumb-pochi .breadcrumb-item.active {
  color: #fff;
}
.breadcrumb-pochi-hero-wrap .breadcrumb-pochi .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== プロフィール（About） ===== */
.profile-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-primary);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.profile-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  margin-bottom: 0.2rem;
}

.profile-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* ===== フッター ===== */
.footer-pochi {
  background-color: #122829;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-pochi .footer-brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary-light);
  margin-bottom: 0.4rem;
}

.footer-pochi .footer-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-pochi .footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.6rem;
}

.footer-pochi a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
}
.footer-pochi a:hover { color: #fff; }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
/* Yahoo!デベロッパーネットワーク規約のクレジット表示（B150 render_simple_footer） */
.footer-copy .footer-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 0.6rem;
  margin-bottom: 0;
}
.footer-copy .footer-credit:hover { color: #fff; }

/* ===== アフィリエイト免責 ===== */
.affiliate-notice {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-primary-bg);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  margin-top: 2rem;
}

/* ===== プライバシーポリシー ===== */
.privacy-section {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
}

.privacy-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-primary-light);
}

/* ===== 左カテゴリナビ ===== */
.category-left-nav {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: sticky;
  top: 12px;
}

.category-nav-header {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.6rem 0.9rem;
  letter-spacing: 0.02em;
}

.category-nav-items {
  display: flex;
  flex-direction: column;
}

.category-nav-item {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid #C8E6E7;
  text-decoration: none;
  transition: background-color 0.15s;
}
.category-nav-item:last-child { border-bottom: none; }
.category-nav-item:hover {
  background-color: var(--color-primary-bg);
  color: var(--color-primary-dark);
  text-decoration: none;
}
.category-nav-item.active {
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  font-weight: 800;
  border-left: 3px solid var(--color-primary);
}

/* ===== テーブルタップヒント（吹き出しスタイル） ===== */
.table-tap-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.table-tap-hint__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2.5px solid var(--color-primary);
  background: var(--color-primary-bg);
}

.table-tap-hint__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.table-tap-hint__bubble {
  position: relative;
  flex: 1;
  background: var(--color-primary-bg);
  border: 2px solid var(--color-primary-light);
  border-radius: 18px;
  padding: 0.65rem 1rem;
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(74, 158, 161, 0.10);
}

.table-tap-hint__bubble::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: var(--color-primary-light);
}

.table-tap-hint__bubble::after {
  content: '';
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right-color: var(--color-primary-bg);
}

/* ===== ポチのすけのセリフ吹き出し ===== */
.pochi-speech {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
}

.pochi-speech__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 64px;
}

.pochi-speech__icon img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2px solid var(--color-primary);
  background: var(--color-primary-bg);
}

.pochi-speech__name {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 3px;
  text-align: center;
  white-space: nowrap;
}

.pochi-speech__bubble {
  position: relative;
  flex: 1;
  background: var(--color-primary-bg);
  border: 2px solid var(--color-primary-light);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(74, 158, 161, 0.10);
}

.pochi-speech__bubble::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 18px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid var(--color-primary-light);
  border-left: 10px solid transparent;
}

.pochi-speech__bubble::after {
  content: '';
  position: absolute;
  left: -18px;
  top: 20px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 10px solid var(--color-primary-bg);
  border-left: 10px solid transparent;
}

/* ===== レスポンシブ ===== */
@media (max-width: 576px) {
  .hero-section { padding: 2rem 0 3.5rem; }
  .hero-section h1 { font-size: 1.55rem; }
  .hero-mascot { max-width: 110px; }
  .price-table { font-size: 0.82rem; }
  .price-table thead th,
  .price-table tbody td { padding: 0.5rem 0.65rem; }
}
