/* =========================================
   ひんやり手帖 — cool/summer visual identity
   Direction: clean, breezy "cool water" — pale aqua-white base,
   rounded gothic display (M PLUS Rounded 1c), deep teal-cyan accent,
   mint secondary, image-forward cards with cool soft shadow.
   Deliberately NOT site16 (rosy-milk + Zen Maru + coral/plum).
   Built fresh — not a recolor of site16's stylesheet.
   ========================================= */

:root {
  /* Surface — cool aqua-white, not amber/rose */
  --paper: #F4FBFD;
  --paper-shade: #E7F4F8;
  --paper-deep: #D6EBF1;
  --card: #FFFFFF;
  --mist: #E1EEF2;

  /* Ink — deep teal-slate, not warm brown */
  --ink: #173A44;
  --ink-muted: #3F5C64;
  --ink-soft: #5E7980;
  /* a11y: ink-faint = #5E7980 (4.64:1 on #FFF ≥4.5 WCAG AA) */
  --ink-faint: #5E7980;

  /* Accents — teal-cyan + mint + deep marine */
  /* a11y: --cyan #1E88A8 is decorative fill only (4.08:1 — NOT for text/btn) */
  --cyan: #1E88A8;
  /* a11y: --accent darkened to #16708C (white text 5.63:1, on #FFF 5.63:1 ≥4.5) — use for text & btn bg */
  --accent: #16708C;
  --accent-deep: #115A71;
  /* a11y: --mint-text #2A7A6E (5.11:1 on #FFF) for mint-coloured text; --mint decorative */
  --mint: #5BBFB0;
  --mint-text: #2A7A6E;
  --marine: #0E3A47;
  --marine-deep: #0A2C36;

  /* Lines & shadow — cool-tinted */
  --rule: #D6EBF1;
  --rule-soft: #E7F4F8;
  --shadow-soft: 0 6px 24px rgba(14, 58, 71, 0.08);
  --shadow-lift: 0 14px 36px rgba(14, 58, 71, 0.15);

  /* Type — rounded gothic display + clean gothic body (NOT serif, NOT Zen Maru) */
  --font-display: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Helvetica Neue', system-ui, sans-serif;

  /* Radius — soft, droplet-like */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-pill: 999px;

  /* Scale */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;

  --measure: 36rem;
  --container-max: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  background: var(--paper);
  background-image:
    radial-gradient(120% 80% at 10% -10%, rgba(91, 191, 176, 0.12) 0%, transparent 55%),
    radial-gradient(110% 70% at 100% 0%, rgba(30, 136, 168, 0.10) 0%, transparent 52%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-deep); }

::selection {
  background: var(--accent);
  color: #fff;
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .product-card:hover,
  .category-card:hover,
  .article-card:hover,
  .reading-list li:hover,
  .btn-primary:hover,
  .amazon-link:hover { transform: none; }
  .category-card:hover .category-card-image img,
  .product-card:hover .product-image,
  .hero-image-wrap:hover img,
  .article-hero:hover img { transform: none; }
}

/* ============ Focus ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Layout primitives ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 44rem; }

.section { padding: var(--space-xl) 0; }
.section + .section { border-top: 1px solid var(--rule-soft); }
@media (max-width: 720px) {
  .section { padding: var(--space-l) 0; }
}

/* ============ Compliance bar (ステマ規制 firstview) ============ */
.compliance-bar {
  background: var(--marine);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.5rem 1rem;
}
.compliance-bar strong {
  display: inline-block;
  margin-right: 0.5em;
  padding: 0.05rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 251, 253, 0.9);
  backdrop-filter: saturate(170%) blur(10px);
  -webkit-backdrop-filter: saturate(170%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  border: 0;
  display: inline-grid; place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 136, 168, 0.34);
}
.logo-text {
  font-size: 19px;
  white-space: nowrap;
}
.logo-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-top: 1px;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav a {
  color: var(--ink-muted);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.nav a:hover { color: var(--accent-deep); }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent-deep); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-toggle .nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background 0.18s ease;
}
.nav-toggle .nav-toggle-bars::before,
.nav-toggle .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.18s ease, top 0.18s ease;
}
.nav-toggle .nav-toggle-bars::before { top: -6px; }
.nav-toggle .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 640px) {
  .logo-tagline { display: none; }
  .logo { gap: 0.5rem; }
  .logo-text { font-size: 16px; }
  .logo-mark { width: 30px; height: 30px; font-size: 16px; }
  .site-header .container { padding-top: 0.7rem; padding-bottom: 0.7rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 360px;
    margin-left: auto;
    padding: 0.4rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-lift);
    z-index: 60;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: var(--radius-s);
  }
  .nav a + a { border-top: 1px solid var(--rule-soft); }
  .nav a:hover,
  .nav a:focus-visible { background: var(--paper-shade); color: var(--accent-deep); }
}

/* ============ Hero ============ */
.hero {
  padding: var(--space-xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-text { padding-right: 0.5rem; }
.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1.4rem;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  background: var(--paper-shade);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}
.hero-title {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title .accent { white-space: nowrap; color: var(--cyan); font-weight: 700; }
.hero-lead {
  margin: 0 0 2.2rem;
  font-size: 16px;
  line-height: 2;
  color: var(--ink-muted);
  max-width: 30rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(30, 136, 168, 0.3);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30, 136, 168, 0.36);
}
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--paper-deep);
}
.btn-ghost:hover {
  background: var(--paper-shade);
  color: var(--accent-deep);
  border-color: var(--mint);
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-caption {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

@media (max-width: 900px) {
  .hero { padding-bottom: var(--space-xl); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-image-wrap { order: -1; aspect-ratio: 16/10; }
  .hero-text { padding-right: 0; }
}

/* ============ Section common ============ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  background: var(--paper-shade);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin: 0 0 1.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 0 0 1.3rem;
  color: var(--ink);
}
.section-title.small {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.section-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-muted);
  margin: 0 0 2.5rem;
  max-width: 44rem;
}

/* ============ About intro ============ */
.about-intro { background: var(--paper); }
.science-note {
  margin: 2rem 0 0;
  padding: 1.3rem 1.5rem;
  background: var(--paper-shade);
  border-radius: var(--radius-m);
  border: 0;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-muted);
}
.science-note strong { color: var(--ink); font-weight: 700; }
.note {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  background: var(--paper-shade);
  border-radius: var(--radius-m);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
}

/* ============ Categories grid (image-forward) ============ */
.section-categories { padding-top: var(--space-2xl); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 1260px) {
  .category-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}
.category-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  border: 0;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.category-card-image {
  aspect-ratio: 5/4;
  overflow: hidden;
  position: relative;
}
.category-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover .category-card-image img {
  transform: scale(1.05);
}
.category-card-num {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}
.category-card-body { padding: 1.4rem 1.5rem 1.7rem; }
.category-card-kanji {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--paper-shade);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0;
}
.category-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.category-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-muted);
}

/* ============ Products by category ============ */
.section-products { padding-bottom: var(--space-2xl); }
.category-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--rule-soft);
}
.category-section:first-of-type { border-top: 0; }
.category-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}
.category-section-header-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}
.category-section-header-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.category-section-num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  background: var(--paper-shade);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin: 0 0 0.9rem;
}
.category-section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.category-section-desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-muted);
}

@media (max-width: 800px) {
  .category-section-header {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .category-section-header-image { aspect-ratio: 16/10; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  border: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.product-image {
  aspect-ratio: 1/1;
  background: #fff;
  object-fit: contain;
  object-position: center;
  display: block;
  width: 100%;
  padding: 1.4rem max(1.4rem, calc(50% - 150px));
}
.product-body {
  border-top: 1px solid var(--rule-soft);
  padding: 1.4rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}
.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.reason-block {
  background: var(--paper-shade);
  border-radius: var(--radius-m);
  border: 0;
  padding: 1rem 1.15rem;
}
.reason-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
}
.reason-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
}
.amazon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  padding: 0.95rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 700;
  border: 0;
  box-shadow: 0 6px 16px rgba(30, 136, 168, 0.26);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.amazon-link:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30, 136, 168, 0.32);
}
.pr-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* a11y: explicit white (5.63:1 on #16708C) + full opacity — compliance-critical PR label */
  color: #ffffff;
  opacity: 1;
}

/* ============ Disclosure (Amazon) ============ */
.section-disclosure {
  background: var(--paper-shade);
}
.disclosure-block {
  background: var(--card);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  border: 0;
  padding: 2rem 2.25rem;
}
.disclosure-block p {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-muted);
}
.disclosure-block p:last-child { margin-bottom: 0; }
.disclosure-block .amazon-required {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 700;
  padding: 1rem 1.15rem;
  background: var(--paper-shade);
  border-radius: var(--radius-m);
  border: 0;
  margin-top: 1rem;
}
.disclosure-block p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--marine-deep);
  color: var(--paper);
  padding: var(--space-xl) 0 var(--space-l);
  /* a11y: re-scope --ink-faint to a light aqua-grey here (#CFE6EC = 9.44:1 on #0A2C36) */
  --ink-faint: #CFE6EC;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}
.footer-tagline {
  margin: 0 0 1.5rem;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.footer-meta {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.95;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(207, 230, 236, 0.16);
}
.footer-meta strong {
  color: var(--paper);
  font-weight: 700;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.footer-nav a { color: var(--paper); opacity: 0.82; }
.footer-nav a:hover { color: var(--mint); opacity: 1; }
.footer-related {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-faint);
}
.footer-related a { color: #6FD0C4; }
.footer-related a:hover { color: #fff; }
.footer-copy {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(207, 230, 236, 0.16);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

@media (max-width: 720px) {
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============ Utility ============ */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Skip to content (a11y) ============ */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ============ Category editorial intro (pull-quote) ============ */
.category-intro {
  margin: 0 0 2.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--paper-shade);
  border-radius: var(--radius-l);
  border: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 2.05;
  letter-spacing: 0.01em;
  color: var(--ink);
  max-width: 50rem;
}
.category-intro p { margin: 0; }
.category-intro p + p { margin-top: 0.8rem; }
@media (max-width: 640px) {
  .category-intro {
    padding: 1.25rem 1.35rem;
    font-size: 0.97rem;
    line-height: 1.95;
  }
}

/* ============ Reading list (hub) ============ */
.reading-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.reading-list li {
  background: var(--card);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reading-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.reading-list a {
  display: block;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.reading-list a:hover {
  color: var(--accent-deep);
}

/* ============ About / Article page typography ============ */
.article-lead {
  margin: 0 0 2.5rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 2.05;
  color: var(--ink-muted);
}
.article-h2 {
  margin: 3.5rem 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0 0 0 1rem;
  border-left: 5px solid var(--accent);
}
.article-h3 {
  margin: 2.25rem 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-left: 0.85rem;
  border-left: 3px solid var(--mint);
}
.numbered-list,
.reference-list {
  margin: 1.5rem 0 2rem;
  padding-left: 1.5rem;
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink);
}
.numbered-list li,
.reference-list li {
  margin-bottom: 0.85rem;
  padding-left: 0.4rem;
}
.article {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.article p {
  margin: 0 0 1.5rem;
  font-size: 16.5px;
  line-height: 2.1;
  color: var(--ink);
}
.article p strong { font-weight: 700; }
.article p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

@media (max-width: 640px) {
  .article-h2 { font-size: 1.3rem; margin: 2.5rem 0 1rem; }
  .article-h3 { font-size: 1.12rem; margin: 2rem 0 0.8rem; }
  .article p { font-size: 16px; line-height: 2.05; }
  .article-lead { font-size: 1rem; }
  .numbered-list, .reference-list { font-size: 14.5px; padding-left: 1.2rem; }
}

/* "リンク先はAmazonの商品ページです" note */
.search-note {
  margin: 0.5rem 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
  text-align: center;
}

/* ============ Mobile typography ============ */
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.85; }
  .product-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .category-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero { padding: 1.5rem 0 2.5rem; }
  .container { padding: 0 1.25rem; }
  .hero-lead { font-size: 15.5px; }
  .disclosure-block { padding: 1.5rem 1.4rem; }
  .product-image { padding: 1.2rem max(1.2rem, calc(50% - 130px)); }
}

/* =========================================
   Craft layer — micro-interaction & motion
   Mouse hover only (hover: hover) so touch devices never get
   stuck hover states. No layout shift — transforms + shadow only.
   ========================================= */
@media (hover: hover) and (pointer: fine) {
  .product-image {
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: center;
    will-change: transform;
  }
  .product-card:hover .product-image {
    transform: scale(1.03);
  }
  .hero-image-wrap img,
  .article-hero img {
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: center;
  }
  .hero-image-wrap:hover img,
  .article-hero:hover img {
    transform: scale(1.03);
  }
  .category-card,
  .product-card,
  .article-card {
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.28s ease;
  }
  .footer-nav a,
  .footer-related a {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease, opacity 0.2s ease, text-decoration-color 0.2s ease;
  }
  .footer-nav a:hover { text-decoration-color: var(--mint); }
  .footer-related a:hover { text-decoration-color: currentColor; }
}

/* ============ Accessible focus ring ============ */
.btn:focus-visible,
.amazon-link:focus-visible,
.btn-primary:focus-visible {
  outline: 2px solid var(--marine);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(30, 136, 168, 0.22);
}
.nav a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.category-card:focus-visible,
.product-card:focus-visible,
.article-card:focus-visible,
.reading-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.site-footer a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ============ Article hero image ============ */
.article-hero {
  position: relative;
  margin: 0 0 2.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
}
.article-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .article-hero {
    aspect-ratio: 16 / 10;
    margin-bottom: 2rem;
  }
}
