/*
Theme Name: Monoerabi Editorial
Theme URI: https://monoerabi.jp/
Author: Monoerabi Editorial Department
Description: モノえらび編集部のためのAI編集部型商品選定メディアテーマ。
Version: 0.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: monoerabi-editorial
*/

:root {
  --ink: #161719;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #202124;
  --muted: #67645f;
  --soft: #f4f0e7;
  --yellow: #f6c700;
  --orange: #ff6b00;
  --green: #7fa431;
  --pink: #f28fb4;
  --blue: #1266d6;
  --mint: #a8d4c2;
  --shadow: 0 18px 40px rgba(22, 23, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(246, 199, 0, 0.1) 0 8%, transparent 8% 100%),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(22, 23, 25, 0.028) 38px 39px);
  mask-image: linear-gradient(to bottom, #000 0, transparent 760px);
}

.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

code {
  padding: 0.15em 0.35em;
  border: 1px solid rgba(22, 23, 25, 0.16);
  border-radius: 4px;
  background: #fff7d6;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.brand-mark svg { width: 100%; height: 100%; }

.brand strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.15;
}

.brand-hl {
  padding: 0 0.04em;
  background: linear-gradient(transparent 58%, rgba(246, 199, 0, 0.75) 58%);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a,
.button,
.shop-buttons a,
.shop-buttons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 2px solid var(--ink);
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--yellow);
}

.site-nav a.is-current,
.site-nav a[aria-current="page"] {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}

.site-breadcrumb {
  width: min(1160px, calc(100% - 36px));
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.site-breadcrumb li + li::before {
  content: "/";
  color: rgba(22, 23, 25, 0.36);
}

.site-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.site-breadcrumb span[aria-current="page"] {
  color: var(--ink);
}

/* ===== Hero (editorial board, full-body cast) ===== */
.board-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: clamp(660px, 94vh, 1000px);
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(circle at 10% 16%, rgba(246, 199, 0, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(18, 102, 214, 0.12), transparent 24%),
    radial-gradient(circle at 82% 92%, rgba(242, 143, 180, 0.16), transparent 26%),
    radial-gradient(rgba(22, 23, 25, 0.05) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--soft);
}

.bh-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bh-bg > * { position: absolute; }
.bh-dot { border-radius: 50%; }
.bh-prop { color: rgba(22, 23, 25, 0.6); }
.bh-prop.card {
  border: 2px solid rgba(22, 23, 25, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.05);
  opacity: 0.62;
}
.bh-prop-search { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.bh-prop-search svg { flex: none; }
.bh-prop-table { margin: 0; padding: 9px 12px; }
.bh-prop-table figcaption { margin-bottom: 5px; font-size: 0.54rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.bh-prop-table table { width: 100%; border-collapse: collapse; font-size: 0.62rem; }
.bh-prop-table th, .bh-prop-table td { padding: 2px 6px; text-align: center; border-bottom: 1px solid rgba(22, 23, 25, 0.14); }
.bh-prop-table th:first-child, .bh-prop-table td:first-child { text-align: left; }
.bh-prop-chart { margin: 0; opacity: 0.6; }
.bh-prop-note { display: grid; gap: 3px; margin: 0; padding: 10px 12px; font-size: 0.66rem; font-weight: 700; line-height: 1.4; }
.bh-prop-note b { font-size: 0.74rem; }

.bh-float { animation: bh-float 8s ease-in-out infinite; will-change: transform; }
@keyframes bh-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}
.bh-bg > *:nth-child(3n) { animation-duration: 10s; animation-delay: -1s; }
.bh-bg > *:nth-child(3n+1) { animation-duration: 7s; animation-delay: -3s; }
.bh-bg > *:nth-child(3n+2) { animation-duration: 9s; animation-delay: -5s; }

.bh-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 44px);
  width: min(1480px, 95%);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 44px) 0 0;
}

.bh-copy { max-width: min(900px, 66%); }
.bh-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; margin-top: 4px; }
.bh-aside .bh-palette, .bh-aside .bh-actions { margin-top: 0; }
.bh-aside .bh-actions { justify-content: flex-end; }
.bh-tagline { margin: 0 0 12px; font-size: clamp(1.05rem, 2.2vw, 1.55rem); font-weight: 800; color: var(--ink); }
.bh-tagline .hl { padding: 0 0.08em; background: linear-gradient(transparent 56%, rgba(246, 199, 0, 0.7) 56%); }
.bh-title { margin: 0; font-size: clamp(2.6rem, 6.8vw, 6.6rem); font-weight: 900; line-height: 0.94; letter-spacing: -0.015em; white-space: nowrap; }
.bh-title .bh-jp { display: inline; }
.bh-title-mk { padding: 0 0.04em; background: linear-gradient(transparent 62%, rgba(246, 199, 0, 0.85) 62%); }
.bh-title-en { display: block; margin-top: 10px; font-size: clamp(0.7rem, 1.3vw, 1rem); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; white-space: normal; color: var(--muted); }
.bh-lead { max-width: 780px; margin: 18px 0 0; font-size: clamp(0.95rem, 1.45vw, 1.08rem); line-height: 1.9; color: #33312d; }
.bh-sublead {
  max-width: 560px;
  margin: 12px 0 0;
  padding-left: 14px;
  border-left: 5px solid var(--yellow);
  color: #4a4742;
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  font-weight: 700;
  line-height: 1.8;
}
.bh-palette { display: flex; gap: 7px; margin-top: 18px; }
.bh-palette i { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 5px; transform: rotate(-5deg); }
.bh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.bh-cast {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: auto 0 0;
  padding: 0 clamp(6px, 1.5vw, 22px) clamp(120px, 15vh, 168px);
  list-style: none;
}
.bh-cast-member { flex: var(--s, 1) 1 0; min-width: 0; max-width: 24%; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bh-cast-member + .bh-cast-member { margin-left: clamp(-44px, -2vw, -8px); }
.bh-cast-member.accent-yellow { --accent: #c39a00; }
.bh-cast-member.accent-orange { --accent: var(--orange); }
.bh-cast-member.accent-green { --accent: var(--green); }
.bh-cast-member.accent-pink { --accent: #d76a97; }
.bh-cast-member.accent-blue { --accent: var(--blue); }
.bh-cast .bh-cast-member { border-left: 0; }
.bh-cast-label { position: absolute; top: 100%; left: 0; right: 0; margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: "Klee One", "Yomogi", sans-serif; }
.bh-role { font-size: clamp(0.74rem, 0.95vw, 0.9rem); font-weight: 700; color: var(--accent); }
.bh-name { position: relative; font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 600; line-height: 1.1; transform: rotate(-2.5deg); }
.bh-name::after { content: ""; display: block; height: 8px; margin-top: -4px; border-radius: 4px; background: var(--accent); opacity: 0.7; }
.bh-meta { margin-top: 3px; font-size: clamp(0.66rem, 0.9vw, 0.8rem); font-weight: 700; line-height: 1.35; color: #4a4742; }
.bh-note { max-width: 100%; font-size: clamp(0.64rem, 0.85vw, 0.76rem); line-height: 1.4; color: var(--muted); }
.bh-figure { width: 100%; line-height: 0; }
.bh-figure img { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 16px 14px rgba(22, 23, 25, 0.18)); }

.bh-criteria {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: clamp(10px, 2vw, 26px);
  align-items: center;
  margin-top: clamp(12px, 2vw, 24px);
  padding: clamp(14px, 2vw, 20px) clamp(20px, 5vw, 60px);
  background: var(--ink);
  color: var(--paper);
}
.bh-criteria-label { margin: 0; font-size: 0.84rem; font-weight: 900; line-height: 1.3; color: var(--yellow); }
.bh-criteria-label span { display: block; margin-top: 3px; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 253, 248, 0.6); }
.bh-criteria ul { display: contents; margin: 0; padding: 0; list-style: none; }
.bh-crit-item { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; line-height: 1.4; }
.bh-crit-item svg { flex: none; color: var(--yellow); }

/* shared base type (kept) */
.eyebrow,
.section-label { margin: 0 0 10px; color: var(--blue); font-size: 0.78rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.page-title h1,
.article-hero h1 { max-width: 920px; margin: 0; font-size: clamp(2.4rem, 7.4vw, 6.2rem); line-height: 0.95; letter-spacing: 0; }
.page-title p,
.article-hero p { max-width: 660px; color: #33312d; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.9; }

@media (max-width: 900px) {
  .bh-copy { max-width: 100%; }
  .bh-aside { align-items: flex-start; }
  .bh-prop.card { display: none; }
}

@media (max-width: 640px) {
  .board-hero { min-height: 0; }
  .bh-inner { width: calc(100% - 24px); }
  .bh-cast {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 18px 10px;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 12px 26px;
    overflow-x: visible;
  }
  .bh-cast-member {
    width: 100%;
    max-width: none;
  }
  .bh-cast-member + .bh-cast-member { margin-left: 0; }
  .bh-cast-member:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(50%, 180px);
  }
  .bh-cast-label {
    position: static;
    margin-top: 6px;
  }
  .bh-meta,
  .bh-note {
    display: none;
  }
  .bh-criteria { grid-template-columns: 1fr 1fr; }
  .bh-criteria-label { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .bh-float { animation: none; }
}

.issue-band,
.latest-products,
.workflow,
.team-strip,
.page-shell,
.article-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.issue-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 28px;
  align-items: center;
  padding: 44px 0;
}

.issue-band h2,
.section-heading h2,
.meeting h2,
.article-section h2,
.product-cta h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.issue-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.issue-card-image {
  margin: -22px -22px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

.issue-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--white);
}

.issue-card strong {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.issue-card strong a {
  text-decoration: none;
}

.issue-status,
.cta-status,
.profile-role {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meeting {
  width: min(980px, calc(100% - 36px));
  margin: 42px auto;
  padding: 34px 0;
}

.meeting-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.speech {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.meeting .speech { border-left: 0; }
.speech:nth-child(even) { flex-direction: row-reverse; }

.speech img {
  flex: none;
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: var(--white);
  object-fit: cover;
  object-position: top center;
}

.speech > div {
  position: relative;
  max-width: 80%;
  padding: 15px 20px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.1);
}

.speech > div::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--white);
  transform: rotate(45deg);
}

.speech:nth-child(odd) > div::before { left: -8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.speech:nth-child(even) > div::before { right: -8px; border-right: 2px solid var(--ink); border-top: 2px solid var(--ink); }
.speech .speaker span { color: var(--accent); }

.speech p {
  margin: 0.2em 0;
  line-height: 1.75;
}

.speaker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 0 0 4px;
  font-weight: 900;
}

.speaker small {
  color: var(--muted);
  font-size: 0.78rem;
}

.meeting-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(22, 23, 25, 0.16);
  border-left: 5px solid var(--yellow);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #4a4740;
  font-size: 0.82rem;
  line-height: 1.8;
}

.accent-orange { --accent: var(--orange); }
.accent-blue { --accent: var(--blue); }
.accent-green { --accent: var(--green); }
.accent-pink { --accent: var(--pink); }
.accent-yellow { --accent: var(--yellow); }

.accent-orange,
.accent-blue,
.accent-green,
.accent-pink,
.accent-yellow {
  border-left: 10px solid var(--accent);
}

.latest-products {
  padding: 16px 0 62px;
}

.latest-products-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.latest-products-heading .button {
  flex: none;
}

.latest-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.latest-product-card {
  --card-accent: var(--yellow);
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 236px;
  padding: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--card-accent), white 55%) 0 44px, transparent 45px),
    var(--white);
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.1);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.latest-product-card:nth-child(2) { --card-accent: var(--orange); }
.latest-product-card:nth-child(3) { --card-accent: var(--green); }
.latest-product-card:nth-child(4) { --card-accent: var(--pink); }

a.latest-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 9px 0 rgba(22, 23, 25, 0.16);
}

.latest-product-card.is-featured {
  grid-column: span 2;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1fr);
  column-gap: 18px;
}

.latest-product-status,
.latest-product-more {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 900;
}

.latest-product-status {
  justify-self: start;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.latest-product-image {
  grid-row: 1 / span 4;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.latest-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
}

.latest-product-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.12);
  font-size: 1.32rem;
  font-weight: 900;
}

.latest-product-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.48rem);
  line-height: 1.28;
}

.latest-product-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #33312d;
  font-size: 0.9rem;
  line-height: 1.75;
}

.latest-product-more {
  align-self: end;
  color: var(--blue);
}

.latest-product-card.is-soon {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--card-accent), white 52%) 0 52px, transparent 53px),
    var(--soft);
}

.workflow {
  padding: 58px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.team-strip-lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: #33312d;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 700;
  line-height: 1.9;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.workflow-list li {
  min-height: 160px;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--white);
  counter-increment: step;
}

.workflow-list li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.workflow-list span,
.member-card p,
.profile-card p,
.article-section p,
.product-cta p {
  color: #33312d;
  line-height: 1.9;
}

.team-strip {
  padding: 48px 0 80px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.member-card {
  min-height: 168px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.member-card img {
  width: 74px;
  height: 74px;
  border: 2px solid var(--ink);
  object-fit: cover;
}

.member-card h3 {
  margin: 12px 0 2px;
  font-size: 1.2rem;
}

.member-card p {
  margin: 0;
  font-size: 0.9rem;
}

.member-role {
  margin-top: 10px !important;
  color: var(--blue);
  font-size: 0.72rem !important;
  font-weight: 900;
}

.page-shell {
  padding: 48px 0 90px;
}

.page-title {
  padding: 34px 0 42px;
}

.member-profile-grid {
  display: grid;
  gap: 22px;
}

.profile-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 300px;
  padding: clamp(18px, 3vw, 30px);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-card.accent-yellow { --profile-accent: #c39a00; }
.profile-card.accent-orange { --profile-accent: var(--orange); }
.profile-card.accent-green { --profile-accent: var(--green); }
.profile-card.accent-pink { --profile-accent: #d76a97; }
.profile-card.accent-blue { --profile-accent: var(--blue); }

.profile-figure {
  display: grid;
  place-items: end center;
  align-self: stretch;
  min-height: 380px;
  margin: 0;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2)),
    linear-gradient(180deg, color-mix(in srgb, var(--profile-accent), white 74%), var(--soft));
}

.profile-card img {
  width: min(230px, 96%);
  height: 360px;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: center bottom;
}

.profile-card h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.profile-role {
  margin: 0 0 8px;
  color: var(--profile-accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.profile-catch {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--profile-accent), white 74%);
  font-weight: 900;
}

.profile-summary {
  max-width: 760px;
  margin: 0;
  color: #33312d;
  font-size: 1rem;
  line-height: 1.9;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 18px;
  margin-top: 20px;
}

.profile-detail-grid h3 {
  margin: 0 0 8px;
  font-size: 0.88rem;
}

.profile-checks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-checks li {
  position: relative;
  padding-left: 18px;
  color: #33312d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.profile-checks li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  background: var(--profile-accent);
  transform: rotate(-8deg);
}

.profile-detail-grid blockquote {
  margin: 0;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--soft);
  font-weight: 800;
  line-height: 1.7;
}

.profile-card dl {
  margin: 18px 0 0;
}

.profile-card dt {
  font-weight: 900;
}

.profile-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.article-shell {
  padding: 38px 0 90px;
}

.article-hero {
  padding: clamp(36px, 6vw, 70px) 0 44px;
  border-bottom: 2px solid var(--ink);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(24px, 5vw, 48px);
  align-items: end;
}

.article-hero h1 {
  max-width: 1060px;
  font-size: clamp(2.25rem, 5.6vw, 4.9rem);
}

.article-hero-image,
.product-detail-image {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.article-hero-image img,
.product-detail-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
}

.article-hero-image figcaption,
.product-detail-image figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.article-hero-image figcaption a,
.product-detail-image figcaption a {
  color: var(--blue);
  font-weight: 900;
}

.article-hero-image figcaption small,
.product-detail-image figcaption small {
  font-size: 0.72rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.article-meta div {
  min-width: 150px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.article-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.article-meta dd {
  margin: 3px 0 0;
  font-weight: 900;
}

.article-meta dd a {
  color: var(--ink);
  text-decoration: none;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.article-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.76rem;
  font-weight: 900;
}

.affiliate-disclosure {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 680px;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(22, 23, 25, 0.16);
  border-left: 4px solid rgba(255, 107, 0, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.65;
}

.affiliate-disclosure strong {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(22, 23, 25, 0.24);
  border-radius: 999px;
  background: rgba(246, 199, 0, 0.45);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 900;
}

.affiliate-disclosure p {
  margin: 0;
}

.article-section {
  width: min(900px, 100%);
  margin: 54px auto;
}

.product-detail-image {
  margin: 26px 0;
  box-shadow: 6px 6px 0 var(--ink);
}

.product-detail-image img {
  aspect-ratio: 16 / 10;
}

.article-section h2,
.product-cta h2 {
  margin-bottom: 18px;
}

.article-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: inline-grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.14);
  color: var(--ink);
}

.section-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-icon-good { background: var(--green); color: var(--white); }
.section-icon-not { background: var(--pink); color: var(--ink); }
.section-icon-specs { background: var(--blue); color: var(--white); }
.section-icon-before { background: var(--orange); color: var(--white); }
.section-icon-comparison { background: var(--yellow); }
.section-icon-faq { background: color-mix(in srgb, var(--blue), white 78%); }

.article-section h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: min(1040px, 100%);
}

.fit-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(22, 23, 25, 0.1);
}

.fit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
}

.fit-card.fit-good::before { background: var(--green); }
.fit-card.fit-not::before { background: var(--pink); }
.fit-card .section-label { margin-top: 6px; }

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 14px;
  padding-left: 40px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
}

.check-list.muted li {
  background: #f7f4ed;
}

.check-list.muted li::before {
  border-radius: 3px;
  background: var(--pink);
  transform: rotate(45deg);
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid rgba(22, 23, 25, 0.16);
  text-align: left;
  vertical-align: top;
}

th {
  width: 28%;
  background: #fff7d6;
  font-weight: 900;
}

.comparison-table-wrap table {
  min-width: 680px;
}

.comparison-table-wrap thead th {
  width: auto;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.comparison-table-wrap tbody th {
  width: 34%;
  background: rgba(246, 199, 0, 0.24);
}

.comparison-table-wrap tbody td {
  background: var(--white);
}

.comparison-table-wrap tbody tr:nth-child(even) th {
  background: rgba(246, 199, 0, 0.14);
}

.comparison-table-wrap tbody tr:nth-child(even) td {
  background: rgba(244, 240, 231, 0.42);
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.point-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.point-grid article,
.faq-list article {
  min-height: 160px;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.product-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  width: min(980px, 100%);
  margin: 62px auto;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.product-cta.has-pochipp {
  display: block;
  width: min(1040px, 100%);
  padding: clamp(22px, 4vw, 38px);
  border: 3px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0 54%, rgba(246, 199, 0, 0.82) 54% 100%),
    var(--orange);
  box-shadow: 8px 8px 0 var(--ink);
}

.cta-copy {
  min-width: 0;
}

.product-cta.has-pochipp .cta-copy {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.product-cta.has-pochipp .cta-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-cta.has-pochipp h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.cta-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-4deg);
}

.cta-icon::before,
.cta-icon::after {
  position: absolute;
  content: "";
}

.cta-icon::before {
  width: 24px;
  height: 18px;
  border: 3px solid var(--ink);
  border-top: 0;
  transform: translateY(5px) skewX(-8deg);
}

.cta-icon::after {
  width: 30px;
  border-top: 3px solid var(--ink);
  transform: translateY(-7px) rotate(-12deg);
}

.cta-lead {
  margin: 0;
  max-width: 760px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.8;
}

.cta-panel {
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.product-cta.has-pochipp .cta-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.16);
}

.article-pochipp {
  margin-top: 14px;
}

.product-cta.has-pochipp .article-pochipp {
  margin-top: 0;
}

.article-pochipp .pochipp-box {
  max-width: none;
  margin: 0;
}

.article-pochipp .pochipp-box__title {
  font-size: clamp(1.05rem, 2.2vw, 1.38rem) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

.article-pochipp .pochipp-box__price,
.article-pochipp .pochipp-box__price span {
  font-size: 1rem !important;
  font-weight: 800 !important;
}

.article-pochipp .pochipp-box__btn,
.article-pochipp .pochipp-box__btn a,
.article-pochipp .pochipp-box__btnwrap a,
.article-pochipp a[class*="pochipp"][class*="btn"] {
  min-height: 50px;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.product-cta.has-pochipp .cta-note {
  margin-top: 16px;
  color: #56524c;
  font-size: 0.8rem;
}

.cta-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.shop-buttons {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.shop-buttons a,
.shop-buttons span {
  width: 100%;
  box-shadow: none;
}

.sources ul {
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
}

.sources a {
  color: var(--blue);
  font-weight: 800;
}

.article-products-section {
  width: min(1040px, 100%);
}

.popular-items-page .items-toolbar {
  margin-bottom: 18px;
}

.article-products-heading {
  margin-bottom: 18px;
}

.article-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-product-card {
  --product-accent: var(--yellow);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 300px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--product-accent), white 52%) 0 62px, transparent 63px),
    var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.1);
}

.article-product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: var(--product-accent);
}

.article-product-card.tone-yellow { --product-accent: var(--yellow); }
.article-product-card.tone-orange { --product-accent: var(--orange); }
.article-product-card.tone-green { --product-accent: var(--green); }
.article-product-card.tone-pink { --product-accent: var(--pink); }
.article-product-card.tone-blue { --product-accent: var(--blue); }

.article-product-card.is-soon {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(244, 240, 231, 0.7)),
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--product-accent), white 52%) 0 62px, transparent 63px);
}

.article-product-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 18px 18px 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.article-product-visual img {
  width: 100%;
  height: 100%;
  max-height: 170px;
  object-fit: contain;
}

.article-product-visual span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--product-accent);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.14);
  font-size: 1.6rem;
  font-weight: 900;
}

.article-product-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 18px 18px;
}

.article-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
}

.article-product-meta span:first-child {
  background: var(--product-accent);
}

.article-product-card h3 {
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  line-height: 1.35;
}

.article-product-card p {
  margin: 0;
  color: #33312d;
  font-size: 0.86rem;
  line-height: 1.7;
}

.article-product-card strong {
  margin-top: 2px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.article-related-section {
  width: min(1040px, 100%);
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.article-related-card {
  --related-accent: var(--yellow);
  position: relative;
  display: grid;
  align-content: start;
  min-height: 210px;
  gap: 10px;
  padding: 20px 16px 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--related-accent), white 50%) 0 52px, transparent 53px),
    var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.1);
}

.article-related-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: var(--related-accent);
}

.article-related-card.tone-yellow { --related-accent: var(--yellow); }
.article-related-card.tone-orange { --related-accent: var(--orange); }
.article-related-card.tone-green { --related-accent: var(--green); }
.article-related-card.tone-blue { --related-accent: var(--blue); }

.article-related-card span,
.article-related-card strong,
.article-related-card p {
  position: relative;
  z-index: 1;
}

.article-related-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.article-related-card strong {
  font-size: 1.12rem;
  line-height: 1.4;
}

.article-related-card p {
  margin: 0;
  color: #33312d;
  font-size: 0.86rem;
  line-height: 1.7;
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 2px solid var(--ink);
  background: var(--white);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header,
  .issue-band,
  .article-hero-grid,
  .product-cta,
  .two-column,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .workflow-list,
  .member-grid,
  .point-grid,
  .faq-list,
  .latest-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-product-card.is-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .latest-product-image {
    grid-row: auto;
    min-height: 180px;
  }
}

@media (max-width: 680px) {
  .admin-bar .site-header {
    top: 0;
  }

  .site-header {
    position: static;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .workflow-list,
  .member-grid,
  .point-grid,
  .faq-list,
  .latest-product-grid {
    grid-template-columns: 1fr;
  }

  .latest-products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .speech {
    gap: 12px;
    box-shadow: none;
  }

  .speech img {
    width: 60px;
    height: 60px;
  }

  .speech > div { max-width: 84%; }

  .profile-card img {
    width: min(200px, 92%);
    height: 300px;
  }

  .article-meta div {
    width: 100%;
  }
}

/* ===== Release: footer + static pages ===== */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.4fr;
  gap: clamp(24px, 4vw, 56px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 0 clamp(22px, 3vw, 34px);
}
.footer-name { margin: 0 0 8px; font-size: 1.15rem; font-weight: 900; }
.footer-tagline { margin: 0 0 10px; font-weight: 700; color: var(--yellow); }
.footer-desc { max-width: 30ch; margin: 0; font-size: 0.86rem; line-height: 1.75; color: rgba(255, 253, 248, 0.72); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.footer-col-title { margin: 0 0 10px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; color: var(--yellow); }
.footer-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: rgba(255, 253, 248, 0.82); font-size: 0.84rem; text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-copyright {
  margin: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  font-size: 0.74rem;
  color: rgba(255, 253, 248, 0.6);
}

.static-page { padding: clamp(32px, 4vw, 56px) 0 clamp(42px, 6vw, 86px); }
.static-page h1 { margin: 6px 0 0; font-size: clamp(2.15rem, 5.2vw, 4.4rem); line-height: 0.98; }
.static-hero {
  position: relative;
}
.static-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: min(300px, 46vw);
  height: 10px;
  background: linear-gradient(90deg, var(--yellow), var(--orange) 46%, var(--pink) 74%, var(--blue));
}
.static-summary div:nth-child(1) { background: linear-gradient(135deg, var(--white), rgba(246, 199, 0, 0.24)); }
.static-summary div:nth-child(2) { background: linear-gradient(135deg, var(--white), rgba(255, 107, 0, 0.16)); }
.static-summary div:nth-child(3) { background: linear-gradient(135deg, var(--white), rgba(18, 102, 214, 0.14)); }
.static-content-card {
  width: min(960px, 100%);
  margin: clamp(34px, 5vw, 58px) auto 0;
  padding: clamp(22px, 4vw, 44px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(246, 199, 0, 0.2) 0 110px, transparent 111px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 231, 0.78));
  box-shadow: 8px 8px 0 rgba(22, 23, 25, 0.1);
}
.page-lead { margin: 16px 0 0; max-width: 50em; font-size: clamp(1rem, 1.6vw, 1.12rem); font-weight: 700; line-height: 1.85; color: var(--ink); }
.page-body { margin-top: 0; line-height: 1.95; }
.page-body h2 { margin: 38px 0 12px; padding-left: 12px; border-left: 6px solid var(--yellow); font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.35; }
.page-body > h2:first-child,
.page-body > p:first-child { margin-top: 0; }
.page-body p { margin: 0 0 14px; }
.page-body ul { margin: 0 0 16px; padding-left: 1.2em; }
.page-body li { margin: 0 0 6px; }
.page-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.page-note { margin-top: 22px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 8px; background: var(--soft); font-size: 0.88rem; line-height: 1.8; }

.page-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 18px; }
.page-card { position: relative; display: block; padding: 16px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.1); text-decoration: none; color: var(--ink); }
a.page-card { transition: transform 0.16s ease, box-shadow 0.16s ease; }
a.page-card:hover { transform: translateY(-3px); box-shadow: 6px 7px 0 rgba(22, 23, 25, 0.14); }
.page-card h3 { margin: 0 0 6px; font-size: 1rem; }
.page-card p { margin: 0; font-size: 0.82rem; line-height: 1.6; color: var(--muted); }
.page-card.is-soon { background: var(--soft); }
.soon-tag { display: inline-block; margin-top: 10px; padding: 2px 10px; border: 1px solid var(--muted); border-radius: 999px; font-size: 0.7rem; font-weight: 800; color: var(--muted); }

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-item {
  position: relative;
  min-height: 180px;
  padding: 18px 18px 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.08);
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--blue);
}
.faq-item:nth-child(5n+1)::before { background: var(--yellow); }
.faq-item:nth-child(5n+2)::before { background: var(--orange); }
.faq-item:nth-child(5n+3)::before { background: var(--green); }
.faq-item:nth-child(5n+4)::before { background: var(--pink); }
.faq-item:nth-child(5n+5)::before { background: var(--blue); }
.faq-item h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.02rem; line-height: 1.5; }
.faq-item h2::before { content: "Q. "; color: var(--blue); font-weight: 900; }
.faq-item p { margin: 0; font-size: 0.92rem; line-height: 1.8; color: #33312d; }

.page-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.08);
}
.page-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.86rem; }
.page-table th, .page-table td { padding: 12px 14px; border: 1px solid rgba(22, 23, 25, 0.18); text-align: left; vertical-align: top; }
.page-table thead th { background: var(--yellow); font-weight: 900; }

.page-related { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--ink); }
.page-related-label { margin: 0 0 10px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.page-related ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.page-related a { display: inline-flex; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 0.84rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sitemap-list li { margin: 0; }
.sitemap-list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.08);
}
.sitemap-list a::before {
  content: "";
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}
.sitemap-list li:nth-child(5n+2) a::before { background: var(--orange); }
.sitemap-list li:nth-child(5n+3) a::before { background: var(--green); }
.sitemap-list li:nth-child(5n+4) a::before { background: var(--pink); }
.sitemap-list li:nth-child(5n+5) a::before { background: var(--blue); }

/* ===== Product list page ===== */
.items-page {
  padding: clamp(32px, 4vw, 56px) 0 clamp(42px, 6vw, 86px);
}

.items-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding: 0 0 clamp(28px, 4vw, 44px);
  border-bottom: 2px solid var(--ink);
}

.items-hero h1 {
  margin: 6px 0 0;
  font-size: clamp(2.3rem, 5.8vw, 5rem);
  line-height: 0.98;
}

.items-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}

.items-summary div {
  min-height: 90px;
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.1);
}

.items-summary dt {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.items-summary dd {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.items-list-section,
.items-coming {
  margin-top: clamp(34px, 5vw, 58px);
}

.items-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.items-toolbar h2,
.items-coming h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.12;
}

.items-toolbar > p {
  max-width: 25em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: right;
}

.toolbar-link {
  display: inline-flex;
  margin-left: 10px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-list-grid {
  display: grid;
  gap: 18px;
}

.item-list-card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  min-height: 300px;
  padding: clamp(16px, 2vw, 22px);
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 94% 10%, rgba(246, 199, 0, 0.28) 0 86px, transparent 87px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 231, 0.7));
  color: var(--ink);
  text-decoration: none;
  box-shadow: 7px 7px 0 rgba(22, 23, 25, 0.12);
}

.item-list-image {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  overflow: hidden;
}

.item-list-image img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
}

.item-list-body {
  display: grid;
  align-content: center;
  gap: 14px;
}

.item-list-meta,
.item-list-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-list-meta span,
.item-list-points li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
}

.item-list-meta span:first-child {
  background: var(--yellow);
}

.item-list-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.item-list-card p {
  max-width: 44em;
  margin: 0;
  color: #33312d;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.85;
}

.item-list-more {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.items-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.items-pagination a,
.items-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(22, 23, 25, 0.1);
}

.items-pagination .is-current {
  background: var(--ink);
  color: var(--white);
}

.items-pagination .is-disabled {
  opacity: 0.42;
  box-shadow: none;
}

.items-coming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coming-card {
  --coming-accent: var(--yellow);
  position: relative;
  min-height: 190px;
  padding: 22px 18px 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--coming-accent), white 55%) 0 54px, transparent 55px),
    var(--soft);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.1);
}

.coming-card.tone-orange { --coming-accent: var(--orange); }
.coming-card.tone-green { --coming-accent: var(--green); }
.coming-card.tone-pink { --coming-accent: var(--pink); }

.coming-card h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.coming-card p {
  margin: 0;
  color: #33312d;
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== Category / comparison directory pages ===== */
.directory-page {
  padding: clamp(32px, 4vw, 56px) 0 clamp(42px, 6vw, 86px);
}

.directory-section {
  margin-top: clamp(34px, 5vw, 58px);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.directory-card {
  --directory-accent: var(--yellow);
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 250px;
  padding: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--directory-accent), white 52%) 0 62px, transparent 63px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 231, 0.72));
  color: var(--ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.1);
}

.directory-card.tone-yellow { --directory-accent: var(--yellow); }
.directory-card.tone-orange { --directory-accent: var(--orange); }
.directory-card.tone-green { --directory-accent: var(--green); }
.directory-card.tone-pink { --directory-accent: var(--pink); }
.directory-card.tone-blue { --directory-accent: var(--blue); }

.directory-card.is-link {
  grid-column: span 2;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
}

.directory-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: var(--directory-accent);
}

.directory-card-image {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  overflow: hidden;
}

.directory-card-image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
}

.directory-card-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--directory-accent);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.12);
  font-size: 1.5rem;
  font-weight: 900;
}

.directory-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.directory-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.directory-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.directory-card-meta span:first-child {
  background: var(--directory-accent);
}

.directory-card h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2.3vw, 1.8rem);
  line-height: 1.24;
}

.directory-card p {
  margin: 0;
  color: #33312d;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.75;
}

.directory-card-more {
  align-self: end;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

/* ===== Editorial team page ===== */
.team-page {
  padding: clamp(32px, 4vw, 56px) 0 clamp(42px, 6vw, 86px);
}

.team-hero-note {
  max-width: 48em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.8;
}

.team-flow,
.team-member-section,
.team-closing {
  margin-top: clamp(34px, 5vw, 58px);
}

.team-flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-flow-card {
  --team-accent: var(--yellow);
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 250px;
  padding: 18px 14px 16px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--team-accent), white 50%) 0 54px, transparent 55px),
    var(--white);
  box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.1);
}

.team-flow-card.tone-yellow,
.team-member-card.tone-yellow { --team-accent: var(--yellow); }
.team-flow-card.tone-orange,
.team-member-card.tone-orange { --team-accent: var(--orange); }
.team-flow-card.tone-green,
.team-member-card.tone-green { --team-accent: var(--green); }
.team-flow-card.tone-pink,
.team-member-card.tone-pink { --team-accent: var(--pink); }
.team-flow-card.tone-blue,
.team-member-card.tone-blue { --team-accent: var(--blue); }

.team-flow-card::before,
.team-member-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: var(--team-accent);
}

.team-flow-number {
  color: color-mix(in srgb, var(--team-accent), var(--ink) 30%);
  font-size: 0.74rem;
  font-weight: 900;
}

.team-flow-card img {
  width: 72px;
  height: 72px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  object-position: top center;
}

.team-flow-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.team-flow-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.team-flow-card p:not(.team-flow-role) {
  margin: 0;
  color: #33312d;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.65;
}

.team-member-grid {
  display: grid;
  gap: 18px;
}

.team-member-card {
  --team-accent: var(--yellow);
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  min-height: 520px;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 96% 10%, color-mix(in srgb, var(--team-accent), white 50%) 0 100px, transparent 101px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 231, 0.72));
  box-shadow: 7px 7px 0 rgba(22, 23, 25, 0.12);
}

.team-member-figure {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  min-height: 460px;
  margin: 0;
  border: 2px solid var(--ink);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-accent), white 68%), rgba(255, 255, 255, 0.86)),
    radial-gradient(rgba(22, 23, 25, 0.08) 1px, transparent 1.5px) 0 0 / 20px 20px;
  overflow: hidden;
}

.team-member-figure img {
  width: min(270px, 96%);
  height: 440px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 14px rgba(22, 23, 25, 0.18));
}

.team-member-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 16px;
}

.team-member-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-end;
}

.team-member-role {
  width: 100%;
  margin: 0;
  color: color-mix(in srgb, var(--team-accent), var(--ink) 28%);
  font-size: 0.84rem;
  font-weight: 900;
}

.team-member-heading h3 {
  margin: 0;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 0.95;
}

.team-speech {
  position: relative;
  max-width: 620px;
  margin: 0;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(22, 23, 25, 0.1);
}

.team-speech::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}

.team-speech p {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 900;
  line-height: 1.65;
}

.team-member-catch {
  display: inline-flex;
  justify-self: start;
  margin: 0;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: color-mix(in srgb, var(--team-accent), white 58%);
  font-weight: 900;
}

.team-member-summary {
  max-width: 760px;
  margin: 0;
  color: #33312d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
}

.team-member-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
  gap: 14px;
}

.team-member-detail section {
  padding: 16px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.team-member-detail h4 {
  margin: 0 0 10px;
  font-size: 0.86rem;
}

.team-member-detail ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-member-detail li {
  position: relative;
  padding-left: 18px;
  color: #33312d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-member-detail li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  background: var(--team-accent);
  transform: rotate(-8deg);
}

.team-member-detail p {
  margin: 0;
  color: #33312d;
  font-size: 0.9rem;
  line-height: 1.75;
}

.team-closing {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  padding-top: clamp(18px, 3vw, 28px);
  border-top: 2px solid var(--ink);
}

.team-closing h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.team-closing > p:not(.section-label) {
  margin: 0;
  color: #33312d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .article-hero-grid,
  .product-cta,
  .two-column,
  .items-hero,
  .static-hero,
  .item-list-card,
  .items-coming-grid,
  .directory-card.is-link,
  .team-member-card,
  .team-member-detail {
    grid-template-columns: 1fr;
  }
  .article-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-hero-grid { align-items: start; }
  .faq-list { grid-template-columns: 1fr; }
  .team-flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-card.is-link { grid-column: auto; }
  .items-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .items-toolbar > p {
    text-align: left;
  }
}
@media (max-width: 720px) {
  .site-nav a.nav-extra { display: none; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .static-content-card { padding: 20px 16px; border-radius: 14px; }
  .sitemap-list { grid-template-columns: 1fr; }
  .page-table-wrap { overflow-x: visible; }
  .page-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }
  .page-table thead { display: none; }
  .page-table,
  .page-table tbody,
  .page-table tr,
  .page-table td {
    display: block;
    width: 100%;
  }
  .page-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(22, 23, 25, 0.16);
  }
  .page-table tr:last-child { border-bottom: 0; }
  .page-table td {
    display: grid;
    grid-template-columns: minmax(86px, 34%) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border: 0;
  }
  .page-table td::before {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
  }
  .page-table td:nth-child(1)::before { content: "サービス"; }
  .page-table td:nth-child(2)::before { content: "提供者"; }
  .page-table td:nth-child(3)::before { content: "利用目的"; }
  .page-table td:nth-child(4)::before { content: "送信情報"; }
  .items-summary { grid-template-columns: 1fr; }
  .item-list-image { min-height: 220px; }
  .directory-grid { grid-template-columns: 1fr; }
  .team-flow-list { grid-template-columns: 1fr; }
  .article-related-grid { grid-template-columns: 1fr; }
  .article-product-grid { grid-template-columns: 1fr; }
  .article-heading { align-items: flex-start; }
  .section-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .section-icon svg {
    width: 22px;
    height: 22px;
  }
  .article-shell .table-wrap {
    overflow-x: visible;
  }
  .article-shell .table-wrap table,
  .article-shell .table-wrap tbody,
  .article-shell .table-wrap tr,
  .article-shell .table-wrap th,
  .article-shell .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .article-shell .table-wrap table {
    border-collapse: separate;
    border-spacing: 0;
  }
  .article-shell .table-wrap tr {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(22, 23, 25, 0.16);
  }
  .article-shell .table-wrap tr:last-child {
    border-bottom: 0;
  }
  .article-shell .table-wrap th,
  .article-shell .table-wrap td {
    padding: 4px 0;
    border: 0;
    background: transparent;
  }
  .article-shell .table-wrap th {
    color: var(--muted);
    font-size: 0.78rem;
  }
  .article-shell .comparison-table-wrap thead {
    display: none;
  }
  .article-shell .comparison-table-wrap tr {
    padding: 12px 14px;
  }
  .article-shell .comparison-table-wrap th,
  .article-shell .comparison-table-wrap td {
    display: grid;
    grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
    gap: 10px;
    padding: 6px 0;
    color: var(--ink);
  }
  .article-shell .comparison-table-wrap th::before,
  .article-shell .comparison-table-wrap td::before {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
  }
  .article-shell .comparison-table-wrap th::before {
    content: "比較ポイント";
  }
  .article-shell .comparison-table-wrap td::before {
    content: "見る理由";
  }
  .team-member-card { min-height: 0; }
  .team-member-figure { min-height: 360px; }
  .team-member-figure img { height: 350px; }
  .team-speech::before {
    left: 24px;
    top: -9px;
    border: 0;
    border-top: 2px solid var(--ink);
    border-left: 2px solid var(--ink);
  }
}

/* ===== Site-wide floating decor + scroll parallax ===== */
.site-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-decor-item { position: absolute; will-change: transform; }
.site-decor-item .sd-inner { display: block; animation: bh-float 9s ease-in-out infinite; }
.site-decor-item:nth-child(3n) .sd-inner { animation-duration: 11s; animation-delay: -2s; }
.site-decor-item:nth-child(3n+1) .sd-inner { animation-duration: 8s; animation-delay: -4s; }
.sd-card { border: 2px solid rgba(22, 23, 25, 0.3); border-radius: 10px; background: rgba(255, 255, 255, 0.5); box-shadow: 4px 4px 0 rgba(22, 23, 25, 0.05); color: rgba(22, 23, 25, 0.5); opacity: 0.5; }
.sd-search { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.sd-search svg { flex: none; }
.sd-note { padding: 9px 12px; font-size: 0.66rem; font-weight: 700; line-height: 1.4; }
.sd-note b { font-size: 0.72rem; }
.sd-dot { display: block; border-radius: 50%; opacity: 0.5; }
@media (prefers-reduced-motion: reduce) { .site-decor-item .sd-inner { animation: none; } }
@media (max-width: 720px) { .site-decor .sd-card { display: none; } }

/* ===== Cards polish (categories / comparisons / products) ===== */
.page-cards { gap: 16px; }
.page-card {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  border-radius: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.page-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--c, var(--ink));
}
.page-cards .page-card:nth-child(5n+1) { --c: var(--yellow); }
.page-cards .page-card:nth-child(5n+2) { --c: var(--orange); }
.page-cards .page-card:nth-child(5n+3) { --c: var(--green); }
.page-cards .page-card:nth-child(5n+4) { --c: var(--pink); }
.page-cards .page-card:nth-child(5n+5) { --c: var(--blue); }
.page-card h3 { margin: 4px 0 8px; font-size: 1.06rem; line-height: 1.4; }
.page-card p { font-size: 0.84rem; line-height: 1.7; }
a.page-card:hover { transform: translateY(-4px); box-shadow: 8px 10px 0 rgba(22, 23, 25, 0.16); }
.page-card.is-soon { background: var(--soft); }
.page-card.is-soon::before { opacity: 0.45; }
.page-card-tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.66rem; font-weight: 800; }
.page-card-more { display: inline-block; margin-top: 12px; font-size: 0.82rem; font-weight: 800; color: var(--blue); }
.page-card.accent-card::before { background: linear-gradient(90deg, var(--yellow), var(--orange) 40%, var(--pink) 70%, var(--blue)); height: 10px; }

/* ===== 404 page ===== */
.error-page .page-grid-section {
  width: min(1040px, 100%);
  margin: clamp(34px, 5vw, 58px) auto 0;
}

.error-hero {
  align-items: center;
}

.error-code {
  justify-self: end;
  font-size: clamp(4.8rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--ink);
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-card > span:first-child {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .error-code {
    justify-self: start;
    text-shadow: 3px 3px 0 var(--ink);
  }

  .page-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact form (Contact Form 7) ===== */
.contact-form { margin-top: 28px; padding: clamp(18px, 3vw, 28px); border: 2px solid var(--ink); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cf7-row { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.cf7-row-full { grid-column: 1 / -1; }
.cf7-label { font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.cf7-req { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 0.62rem; font-weight: 800; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.contact-form textarea { min-height: 156px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(246, 199, 0, 0.55); outline-offset: 1px; }
.cf7-consent { grid-column: 1 / -1; margin: 0; font-size: 0.82rem; color: var(--muted); }
.cf7-consent a { color: var(--blue); text-decoration: underline; }
.cf7-submit { grid-column: 1 / -1; margin: 4px 0 0; }
.contact-form input[type="submit"] {
  min-height: 50px;
  padding: 0 32px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--yellow);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.contact-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 6px 7px 0 var(--yellow); }
.contact-form .wpcf7-spinner { margin: 0 0 0 10px; }
.wpcf7-response-output { grid-column: 1 / -1; margin: 10px 0 0 !important; padding: 10px 14px !important; border-radius: 9px !important; font-size: 0.86rem; }
.wpcf7-not-valid-tip { margin-top: 4px; color: #c0392b; font-size: 0.78rem; }
.contact-form .wpcf7-form-control-wrap { display: block; }
@media (max-width: 600px) { .cf7-grid { grid-template-columns: 1fr; } }

/* ===== Interactive states ===== */
a[href],
button,
input[type="submit"] {
  cursor: pointer;
}

a[href],
button,
input[type="submit"],
.button,
.site-nav a,
.brand-mark,
.brand strong,
.issue-card,
.issue-card-image img,
.latest-product-card,
.latest-product-image img,
.item-list-card,
.item-list-image img,
.items-pagination a,
.directory-card.is-link,
.directory-card-image img,
.faq-item,
.sitemap-list a,
.article-product-card,
.article-product-visual img,
.article-related-card,
.article-meta dd a,
.page-related a,
.site-breadcrumb a,
.footer-col a {
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease,
    transform 0.16s ease,
    text-decoration-color 0.16s ease;
}

a[href]:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.footer-col a {
  display: inline-block;
}

@media (hover: hover) {
  .site-nav a:hover,
  .button:hover,
  .shop-buttons a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
  }

  .button.primary:hover {
    background: #000;
    color: var(--white);
    box-shadow: 6px 6px 0 var(--yellow);
  }

  .button.secondary:hover {
    background: var(--orange);
    color: var(--white);
  }

  .brand:hover .brand-mark {
    transform: rotate(-4deg) translateY(-2px);
    box-shadow: 4px 4px 0 var(--ink);
  }

  .brand:hover strong {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--yellow);
    text-underline-offset: 4px;
  }

  .issue-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 9px 0 rgba(22, 23, 25, 0.16);
  }

  .issue-card:hover .issue-card-image img,
  a.latest-product-card:hover .latest-product-image img {
    transform: scale(1.035);
  }

  .item-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 10px 11px 0 rgba(22, 23, 25, 0.16);
  }

  .item-list-card:hover .item-list-image img {
    transform: scale(1.035);
  }

  .items-pagination a:hover {
    transform: translateY(-2px);
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--ink);
  }

  .directory-card.is-link:hover {
    transform: translateY(-4px);
    box-shadow: 8px 9px 0 rgba(22, 23, 25, 0.16);
  }

  .directory-card.is-link:hover .directory-card-image img {
    transform: scale(1.035);
  }

  .article-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 9px 0 rgba(22, 23, 25, 0.16);
  }

  .article-product-card[href]:hover {
    transform: translateY(-4px);
    box-shadow: 8px 9px 0 rgba(22, 23, 25, 0.16);
  }

  .article-product-card[href]:hover .article-product-visual img {
    transform: scale(1.035);
  }

  .article-meta dd a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
  }

  .page-related a:hover {
    transform: translateY(-2px);
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--ink);
  }

  .sitemap-list a:hover {
    transform: translateY(-3px);
    background: var(--yellow);
    box-shadow: 6px 6px 0 rgba(22, 23, 25, 0.16);
  }

  .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 0 rgba(22, 23, 25, 0.13);
  }

  .page-body a:hover,
  .sources a:hover,
  .site-breadcrumb a:hover,
  .cf7-consent a:hover {
    color: var(--orange);
    text-decoration-color: var(--orange);
    text-decoration-thickness: 3px;
  }

  .footer-col a:hover {
    transform: translateX(4px);
    color: var(--yellow);
    text-decoration-color: var(--yellow);
  }
}

@media (prefers-reduced-motion: reduce) {
  a[href],
  button,
  input[type="submit"],
  .button,
  .site-nav a,
  .brand-mark,
  .brand strong,
  .issue-card,
  .issue-card-image img,
  .latest-product-card,
  .latest-product-image img,
    .item-list-card,
    .item-list-image img,
    .items-pagination a,
    .directory-card.is-link,
    .directory-card-image img,
    .faq-item,
    .sitemap-list a,
    .article-product-card,
    .article-product-visual img,
    .article-related-card,
    .article-meta dd a,
    .page-related a,
    .site-breadcrumb a,
    .footer-col a {
    transition: none;
  }
}
