/* Manga Deals — 楽天市場ライク（クリムゾン主色・EC的カードグリッド）。
   絵文字なし・星はSVG/CSSで描画・情報密度高め。ダークモード対応。 */
:root {
  --rakuten: #bf0000;
  --rakuten-dark: #a30000;
  --rakuten-ink: #8a0000;
  --brand: #bf0000;
  --brand-2: #d81f1f;
  --brand-ink: #8a0000;
  --bg: #f7f7f7;
  --bg-2: #efefef;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --text: #222222;
  --text-soft: #333333;
  --muted: #767676;
  --line: #e6e6e6;
  --line-strong: #d6d6d6;
  --deal: #bf0000;
  --price: #bf0000;
  --free: #148a48;
  --orange: #ff6a00;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.14);
  --maxw: 1180px;
  --font:
    system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", Meiryo, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181a;
    --bg-2: #1d1e21;
    --surface: #202226;
    --surface-2: #26282d;
    --text: #f2f2f2;
    --text-soft: #dcdcdc;
    --muted: #a6a6a6;
    --line: #34363b;
    --line-strong: #43464c;
    --brand-ink: #ff8a8a;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.6);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header — 楽天クリムゾン帯 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--rakuten);
  border-bottom: 3px solid var(--rakuten-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 58px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--rakuten);
  font-size: 18px;
  font-weight: 900;
}
.logo-text {
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-ja {
  color: #fff;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.logo-en {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .logo-ja {
    font-size: 1.02rem;
  }
  .logo-en {
    font-size: 0.56rem;
  }
}
.header-search {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  min-width: 200px;
  max-width: 420px;
  flex: 1;
}
.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
}
.header-search input:focus {
  outline: none;
}
.header-search button {
  border: 0;
  background: var(--rakuten-dark);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.header-search button:hover {
  background: var(--rakuten-ink);
}

/* カテゴリタブ帯 */
.cat-tabs {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cat-tabs-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-tabs a {
  white-space: nowrap;
  padding: 11px 15px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
  border-bottom: 3px solid transparent;
  transition: 0.12s;
}
.cat-tabs a:hover {
  color: var(--rakuten);
  border-bottom-color: var(--rakuten);
  background: var(--surface-2);
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 0;
  margin: 14px 16px 4px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(140, 0, 0, 0.55),
    rgba(120, 0, 0, 0.72)
  );
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding: 44px 20px 40px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: 15px;
}
.hero h1 {
  font-size: clamp(1.6rem, 4.8vw, 2.6rem);
  line-height: 1.24;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero h1 .hl {
  color: #ffe14d;
}
.hero p {
  color: rgba(255, 255, 255, 0.96);
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.98rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.taglist {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}
.hero .chip {
  background: #fff;
  border-color: transparent;
  color: var(--rakuten-ink);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 0.85rem;
  transition: 0.12s;
}
.chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Section */
.section {
  padding: 24px 0 26px;
}
/* フル幅のクリムゾン帯見出し（見出し全体が帯） */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  background: var(--rakuten);
  color: #fff;
  border-radius: var(--radius);
  padding: 11px 16px;
  box-shadow: var(--shadow);
}
.section-head h2 {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 0;
  color: #fff;
  padding-left: 14px;
  position: relative;
  line-height: 1.3;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: 3px;
  background: #ffe14d;
}
.section-head .more {
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  opacity: 0.95;
}

/* Card grid — EC的に情報密度高め */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.14s,
    box-shadow 0.14s,
    border-color 0.14s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rakuten);
}
.card-cover {
  position: relative;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  color: #fff;
  isolation: isolate;
}
.card-cover .cover-tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.card-cover .cover-mark {
  position: relative;
  z-index: 1;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
  line-height: 1;
}
.card-cover .badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 4px;
}
/* ランキング番号バッジ（上位は赤/金） */
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  background: var(--rakuten);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  border: 2px solid #fff;
}
.rank-badge.rank-1 {
  background: linear-gradient(135deg, #f7b500, #e59400);
  color: #4a2c00;
}
.rank-badge.rank-2 {
  background: linear-gradient(135deg, #c9cdd4, #a8adb5);
  color: #33373d;
}
.rank-badge.rank-3 {
  background: linear-gradient(135deg, #d98a4a, #b96a2c);
  color: #3a1e08;
}
.card-body {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
/* セールタグ（角丸・赤/オレンジ） */
.stags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.stag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 3px;
  line-height: 1.5;
  color: #fff;
}
.stag-sale {
  background: var(--rakuten);
}
.stag-new {
  background: var(--orange);
}
.stag-limited {
  background: #e0342b;
}
.stag-free {
  background: var(--free);
}
.stag-pr {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-strong);
}
.card-body h3 {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 実データに基づくセール指標チップ（星評価の代替） */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.72rem;
  line-height: 1.4;
}
.fact {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text-soft);
  border: 1px solid var(--line);
}
.fact-price {
  background: var(--rakuten);
  color: #fff;
  border-color: var(--rakuten);
  font-weight: 800;
}
.fact-discount {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  font-weight: 800;
}
.fact-scale {
  background: var(--surface-2);
  color: var(--text-soft);
}
.fact-until {
  background: #fff3ec;
  color: #b45309;
  border-color: #f3c89e;
}
.fact-urgent {
  background: #ffe6e2;
  color: #b91c1c;
  border-color: #f2a89f;
  font-weight: 800;
}
.fact-expired {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--line);
}
.fact-verified {
  background: transparent;
  color: var(--free);
  border-color: var(--free);
  font-weight: 700;
}
@media (prefers-color-scheme: dark) {
  .fact-until {
    background: #3a2a1a;
    color: #f0b060;
    border-color: #5a4020;
  }
  .fact-urgent {
    background: #3a1c1c;
    color: #f08a80;
    border-color: #5a2626;
  }
}
/* 記事詳細のセール指標行 */
.row-facts .v {
  padding-top: 2px;
}
/* トップの調査日バナー */
.survey-banner {
  max-width: var(--maxw);
  margin: 10px auto 0;
  padding: 0 16px;
}
.survey-banner .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rakuten);
  border-radius: 6px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}
.survey-label {
  background: var(--rakuten);
  color: #fff;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 4px;
}
.survey-date {
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--rakuten);
  letter-spacing: 0.01em;
}
.survey-note {
  color: var(--muted);
  font-size: 0.8rem;
}
.card-meta {
  color: var(--muted);
  font-size: 0.76rem;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.card-until {
  font-size: 0.76rem;
  color: var(--price);
  font-weight: 700;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.tag {
  display: inline-block;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
}

/* CTA button — 楽天レッド */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  margin-top: 10px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  background: var(--rakuten);
  box-shadow: 0 2px 6px rgba(140, 0, 0, 0.3);
  transition: 0.12s;
}
.cta:hover {
  background: var(--rakuten-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 0, 0, 0.36);
}
.cta.small {
  width: auto;
  padding: 9px 18px;
  font-size: 0.85rem;
  margin-top: 0;
}

/* Article page */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 8px 16px 40px;
}
.breadcrumb {
  font-size: 0.79rem;
  color: var(--muted);
  margin: 16px 0 12px;
}
.breadcrumb a:hover {
  color: var(--rakuten);
}
.article-hero {
  position: relative;
  border-radius: var(--radius);
  padding: 34px 26px;
  color: #fff;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article-hero .cover-tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}
.article-hero h1,
.article-hero .sub {
  position: relative;
  z-index: 1;
}
.article-hero h1 {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  margin: 0 0 10px;
  line-height: 1.34;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.article-hero .sub {
  opacity: 0.96;
  font-size: 0.9rem;
}
.deal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rakuten);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin: 22px 0;
}
.deal-box .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.deal-box .row:last-of-type {
  border-bottom: 0;
}
.deal-box .row .k {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}
.deal-box .row .v {
  font-weight: 700;
  text-align: right;
}
.article h2 {
  font-size: 1.28rem;
  margin: 30px 0 14px;
  letter-spacing: 0;
  position: relative;
  padding: 6px 0 6px 14px;
  border-left: 5px solid var(--rakuten);
  color: var(--text);
}
.article p {
  color: var(--text-soft);
}
.article ul.hl,
.article ol.hl {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  counter-reset: hl;
}
.article ul.hl li,
.article ol.hl li {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 15px 12px 44px;
  position: relative;
  color: var(--text-soft);
}
.article ul.hl li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--rakuten);
}
.article ol.hl li {
  counter-increment: hl;
}
.article ol.hl li::before {
  content: counter(hl);
  position: absolute;
  left: 12px;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--rakuten);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.note {
  background: #fff7f0;
  border: 1px solid #f0d9c9;
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 20px 0;
}
@media (prefers-color-scheme: dark) {
  .note {
    background: #2a1f1a;
    border-color: #4a3428;
    color: var(--text-soft);
  }
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: 0.12s;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--rakuten);
}
.related-card .e {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.related-card .t {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Category page */
.cat-hero {
  position: relative;
  text-align: center;
  margin: 14px 16px 4px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cat-hero .cover-tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cat-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 36px 20px 32px;
}
.cat-hero h1 {
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  margin: 4px 0 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.cat-hero p {
  color: rgba(255, 255, 255, 0.96);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
  margin-top: 44px;
  border-top: 3px solid var(--rakuten);
  background: var(--surface);
  padding: 32px 0 26px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--rakuten);
  font-weight: 800;
  margin: 0 0 12px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 3px 0;
  transition: 0.12s;
}
.footer-col a:hover {
  color: var(--rakuten);
}
.disclosure {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 16px 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.65;
}
.copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.77rem;
  margin-top: 14px;
}

/* Search bar (index + search page) */
.searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.searchbar input {
  flex: 1;
  min-width: 0;
  padding: 11px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.93rem;
  box-shadow: var(--shadow);
}
.searchbar input:focus {
  outline: none;
  border-color: var(--rakuten);
  box-shadow: 0 0 0 3px rgba(191, 0, 0, 0.14);
}
.searchbar-count {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
}
.noresult {
  text-align: center;
  color: var(--muted);
  padding: 30px 0;
}

/* FAQ (details/summary) */
.faq {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2px 16px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 13px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 11px;
  font-size: 1.3rem;
  color: var(--rakuten);
  font-weight: 800;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  margin: 0 0 15px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Tag cloud + tag pages */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tagchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  transition: 0.12s;
}
.tagchip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--rakuten);
  border-color: var(--rakuten);
}
.tagchip .c {
  font-size: 0.73rem;
  color: #fff;
  background: var(--rakuten);
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 800;
}
a.tag:hover {
  color: var(--rakuten);
  border-color: var(--rakuten);
}

/* Prev/next navigation */
.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 8px;
}
.prevnext .pn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: 0.12s;
  min-width: 0;
}
.prevnext a.pn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--rakuten);
}
.prevnext .pn-next {
  text-align: right;
}
.prevnext .pn-empty {
  background: transparent;
  border: 0;
}
.prevnext .pn-k {
  font-size: 0.73rem;
  color: var(--rakuten);
  font-weight: 800;
}
.prevnext .pn-t {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Static page head (legal/about/contact) */
.page-head {
  margin: 8px 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--rakuten);
}
.page-head h1 {
  font-size: clamp(1.5rem, 4.2vw, 1.9rem);
  margin: 0;
  letter-spacing: 0;
}
.article .deal-box a {
  color: var(--rakuten);
  font-weight: 700;
}

@media (max-width: 720px) {
  .header-search {
    min-width: 130px;
  }
  .logo-text {
    display: none;
  }
}
@media (max-width: 600px) {
  .prevnext {
    grid-template-columns: 1fr;
  }
  .hero {
    margin: 10px 12px 4px;
  }
  .hero .wrap {
    padding: 34px 16px 30px;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 10px;
  }
  .section-head h2 {
    font-size: 1.08rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
