/* =====================================================
   賢い家のメンテ情報局 ─ Premium Redesign
   Design tokens: 4-color palette / serif headings / 8pt grid
   ===================================================== */

:root {
  /* Colors */
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --ink-muted: #6b7280;
  --paper: #ffffff;
  --paper-soft: #faf8f4;     /* warm off-white */
  --paper-cream: #f3ede0;    /* hero bg */
  --line: #e7e3d8;
  --brand: #1f4e79;          /* japan blue */
  --brand-deep: #163a5c;
  --brand-soft: #e8eef5;
  --accent: #c46a2c;         /* warm terracotta */
  --accent-soft: #fbeee0;
  --warn: #b04634;
  --success: #2f6f4a;
  --gold: #c4953a;

  /* Typography */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --num: "Inter", "Noto Sans JP", system-ui, sans-serif;

  /* Spacing */
  --gap-xs: 4px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 40px;
  --gap-2xl: 64px;
  --gap-3xl: 96px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, .04), 0 2px 8px rgba(20, 30, 50, .04);
  --shadow-md: 0 4px 12px rgba(20, 30, 50, .06), 0 12px 32px rgba(20, 30, 50, .08);
  --shadow-lg: 0 12px 48px rgba(20, 30, 50, .12);
  --shadow-card: 0 1px 0 rgba(20, 30, 50, .04), 0 6px 20px rgba(20, 30, 50, .06);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* =================== Top Banner =================== */
.top-banner {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.top-banner .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 149, 58, .25);
}
.top-banner strong { color: var(--gold); font-weight: 600; }
.top-banner a { color: #d8d3c5; margin-left: 8px; border-bottom: 1px solid #4a5568; padding-bottom: 1px; }

/* =================== Header =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 30, 50, .04);
}
.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper-cream);
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-jp { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.brand-sub { font-family: var(--num); font-size: 9.5px; letter-spacing: .14em; color: var(--ink-muted); margin-top: 2px; }

.primary-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a {
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
  transition: color .15s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: background .15s;
}
.icon-btn:hover { background: var(--paper-soft); color: var(--ink); }
.menu-btn {
  width: 40px; height: 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.menu-btn span {
  width: 18px; height: 2px;
  background: var(--ink);
}

/* =================== Hero =================== */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(196, 149, 58, .08), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(31, 78, 121, .06), transparent 60%),
    linear-gradient(180deg, #fbf8f1 0%, #f3ede0 100%);
  padding: 80px 32px 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,30,50,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,30,50,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font-family: var(--num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 4.1vw, 50px);
  line-height: 1.4;
  letter-spacing: .015em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-title .line + .line { margin-top: .15em; }
.hero-title .accent {
  color: var(--brand);
  background: linear-gradient(180deg, transparent 60%, rgba(196, 149, 58, .35) 60%);
  padding: 0 4px;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-badges {
  list-style: none;
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.hero-badges li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.hero-badges li + li {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.badge-num {
  font-family: var(--num);
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.02em;
  line-height: 1;
}
.badge-num sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-left: 2px;
  vertical-align: baseline;
  position: relative; bottom: 0;
}
.hero-badges li > span:last-child {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-muted);
  font-weight: 500;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 999px;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 30, 50, .15);
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20, 30, 50, .2); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  border: 1px solid rgba(20, 30, 50, .15);
}
.btn-ghost:hover { background: #fff; }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 14px 36px;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-image-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  max-height: 560px;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,30,50,.35) 0%, transparent 35%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.tag-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(47, 111, 74, .2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 111, 74, .2); }
  50% { box-shadow: 0 0 0 6px rgba(47, 111, 74, 0); }
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.stat-num {
  font-family: var(--num);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num sub {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  margin-left: 3px;
  vertical-align: baseline;
  position: relative; bottom: 0;
}
.stat-label { font-size: 11.5px; color: var(--ink-muted); letter-spacing: .04em; }

/* =================== Section common =================== */
.section {
  padding: 120px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.section-lead {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 520px;
}
.section-more {
  font-family: var(--num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
  padding-bottom: 4px;
  transition: color .15s;
}
.section-more:hover { color: var(--accent); border-color: var(--accent); }

/* =================== Topics =================== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.topic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.topic-card:hover::before { transform: scaleX(1); }
.topic-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--paper-cream);
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: 4px;
}
.topic-icon svg { width: 28px; height: 28px; }
.topic-1 .topic-icon { background: rgba(176, 70, 52, .08); color: var(--warn); }
.topic-2 .topic-icon { background: rgba(196, 106, 44, .08); color: var(--accent); }
.topic-3 .topic-icon { background: rgba(47, 111, 74, .08); color: var(--success); }
.topic-4 .topic-icon { background: rgba(31, 78, 121, .08); color: var(--brand); }

.topic-cat {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.topic-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: .02em;
}
.topic-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  flex: 1;
}
.topic-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.topic-link .arrow { transition: transform .2s; }
.topic-card:hover .arrow { transform: translateX(4px); }

/* =================== Featured =================== */
.featured {
  background: var(--paper-soft);
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.featured > .section-head,
.featured > .featured-grid {
  max-width: var(--container);
  margin-left: auto; margin-right: auto;
  padding: 0 32px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.featured-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all .25s ease;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.hero-card {
  grid-row: 1 / 3;
  flex-direction: column;
}
.hero-card .featured-image { aspect-ratio: 16/10; }
.hero-card h3 { font-size: 26px; }
.featured-card:not(.hero-card) {
  flex-direction: row;
  align-items: stretch;
}
.featured-card:not(.hero-card) .featured-image {
  width: 220px;
  flex-shrink: 0;
}
.featured-card:not(.hero-card) .featured-body {
  flex: 1;
  padding: 24px 28px;
}
.featured-image {
  position: relative;
  overflow: hidden;
  background: var(--paper-cream);
}
.featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-card:hover .featured-image img { transform: scale(1.04); }
.featured-rank {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(20, 30, 50, .85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 999px;
}
.featured-rank span { color: var(--gold); margin-right: 4px; }
.featured-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--num);
  letter-spacing: .04em;
}
.read-time { color: var(--ink-muted); }
.featured-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: .02em;
}
.featured-excerpt {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.featured-foot {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.cite-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
}

/* Pills */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--paper-cream);
  color: var(--ink);
  border: 1px solid var(--line);
  width: fit-content;
}
.pill-fire { background: rgba(196, 106, 44, .1); color: var(--accent); border-color: transparent; }
.pill-blue { background: rgba(31, 78, 121, .08); color: var(--brand); border-color: transparent; }
.pill-warn { background: rgba(176, 70, 52, .08); color: var(--warn); border-color: transparent; }

/* =================== Seasonal (5月号特集) =================== */
.seasonal {
  background: linear-gradient(180deg, var(--paper-cream) 0%, #f7f1e3 100%);
  border-radius: 24px;
  padding: 56px 48px 60px;
  margin: 0 auto;
  max-width: 1280px;
}
.seasonal .section-eyebrow { color: var(--accent); }
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.seasonal-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid rgba(31,78,121,.08);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.seasonal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -16px rgba(31,78,121,.18);
  border-color: rgba(196,106,44,.3);
}
.seasonal-num {
  font-family: var(--num);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.seasonal-card .pill { align-self: flex-start; }
.seasonal-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  margin: 4px 0 2px;
}
.seasonal-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.seasonal-link {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: .02em;
}
.seasonal-card:hover .seasonal-link { color: var(--accent); }

/* =================== Latest =================== */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s;
}
.post-card:hover { transform: translateY(-2px); }
.post-card > a {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--paper-cream);
}
.post-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover img { transform: scale(1.04); }
.post-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.post-card h3 a { color: var(--ink); transition: color .15s; }
.post-card h3 a:hover { color: var(--brand); }
.post-card time {
  font-family: var(--num);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: .06em;
}
.latest-cta {
  text-align: center;
  margin-top: 64px;
}

/* =================== About =================== */
.about {
  background:
    linear-gradient(135deg, var(--ink) 0%, #243348 100%);
  color: #e8e4d8;
  max-width: none;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196, 149, 58, .08) 0%, transparent 70%);
  border-radius: 50%;
}
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.about-photo {
  position: relative;
  aspect-ratio: 1;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 4px solid rgba(255, 255, 255, .1);
}
.about-deco {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(196, 149, 58, .4);
  border-radius: var(--r-xl);
  pointer-events: none;
  z-index: -1;
}
.about-text .section-eyebrow { color: var(--gold); }
.about-text .section-title { color: #fff; }
.about-text > p {
  font-size: 15.5px;
  line-height: 1.95;
  color: #c9c4b5;
  margin: 28px 0;
}
.principles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 32px;
}
.principles li {
  font-size: 14px;
  line-height: 1.8;
  color: #c9c4b5;
  padding-left: 28px;
  position: relative;
}
.principles li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 8px;
}
.principles strong { color: #fff; font-weight: 700; }

/* =================== Newsletter =================== */
.newsletter {
  padding: 0 32px 120px;
}
.newsletter-card {
  max-width: var(--container);
  margin: 0 auto;
  background:
    linear-gradient(135deg, var(--paper-cream) 0%, #ede4d0 100%);
  border-radius: var(--r-xl);
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 149, 58, .15) 0%, transparent 70%);
}
.newsletter-card h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.5;
  color: var(--ink);
  margin: 12px 0 16px;
  letter-spacing: .02em;
}
.newsletter-card p {
  font-size: 14px;
  color: var(--ink-soft);
}
.newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  background: transparent;
}
.newsletter-form button {
  background: var(--ink);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  transition: background .15s;
}
.newsletter-form button:hover { background: var(--brand); }

/* =================== Footer =================== */
.site-footer {
  background: #0e1620;
  color: #9da4b0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 32px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .1);
  margin-bottom: 16px;
}
.footer-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-tag {
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: .14em;
  color: #6b7280;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.footer-cols a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: #9da4b0;
  transition: color .15s;
}
.footer-cols a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 24px 32px;
  text-align: center;
  font-size: 11.5px;
  color: #6b7280;
  letter-spacing: .04em;
}

/* =================== Floating CTA =================== */
.float-cta {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  z-index: 70;
  box-shadow: 0 12px 32px rgba(20, 30, 50, .25);
  animation: slideUp .4s ease;
}
@keyframes slideUp {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.float-cta .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.float-cta a {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}
.float-cta button {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #9da4b0;
  font-size: 16px;
  margin-left: 4px;
}
.float-cta button:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* =================== Responsive =================== */
@media (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .seasonal { padding: 44px 32px 48px; }
  .seasonal-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-card { grid-row: auto; }
  .featured-card:not(.hero-card) { flex-direction: row; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image-frame { aspect-ratio: 16/10; max-height: 420px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 240px 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .newsletter-card { grid-template-columns: 1fr; padding: 48px; }
}

@media (max-width: 720px) {
  .top-banner { font-size: 11px; padding: 8px 12px; }
  .top-banner a { display: none; }
  .header-inner { padding: 0 20px; gap: 12px; }
  .brand-sub { display: none; }
  .brand-jp { font-size: 15px; }
  .brand-logo { width: 36px; height: 36px; }
  .primary-nav { display: none; }
  .menu-btn { display: flex; }

  .hero { padding: 48px 20px 64px; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .hero-lead { font-size: 14.5px; }
  .hero-badges {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
  }
  .hero-badges li + li {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 16px;
  }
  .hero-badges li { flex-direction: row; align-items: baseline; gap: 16px; }
  .hero-ctas .btn { flex: 1; justify-content: center; padding: 14px 20px; }
  .hero-image-frame { aspect-ratio: 4/3; }

  .section { padding: 64px 20px; }
  .section-head { margin-bottom: 32px; }
  .topics-grid { grid-template-columns: 1fr; gap: 14px; }
  .topic-card { padding: 24px 22px; }
  .featured-grid > .section-head,
  .featured > .section-head,
  .featured > .featured-grid { padding: 0 20px; }
  .featured-grid { gap: 16px; }
  .featured-card:not(.hero-card) { flex-direction: column; }
  .featured-card:not(.hero-card) .featured-image { width: 100%; aspect-ratio: 16/10; }
  .featured-body { padding: 22px 24px 26px; }
  .hero-card h3 { font-size: 22px; }

  .latest-grid { grid-template-columns: 1fr; }
  .seasonal { padding: 36px 20px 40px; border-radius: 16px; }
  .seasonal-grid { grid-template-columns: 1fr; gap: 12px; }
  .about { padding: 80px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .about-photo { max-width: 240px; margin: 0 auto; }
  .newsletter-card { padding: 36px 24px; gap: 28px; }
  .newsletter-card h2 { font-size: 22px; }
  .newsletter-form { flex-direction: column; padding: 0; background: transparent; box-shadow: none; gap: 8px; }
  .newsletter-form input { background: #fff; border-radius: 999px; padding: 16px 24px; }
  .newsletter-form button { width: 100%; padding: 16px; }

  .footer-inner { padding: 56px 20px 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }

  .float-cta { width: calc(100% - 32px); justify-content: center; font-size: 12px; padding: 12px 18px; }
}

/* =====================================================
   Premium Overlay v2 — Editorial Luxury Layer
   既存ルールを上書きせず、選択子を上位化して装飾を増強
   ===================================================== */

:root {
  --gold-1: #b88a3a;
  --gold-2: #d8b56b;
  --gold-3: #f1dfa6;
  --navy-1: #14304b;
  --navy-2: #1f4e79;
  --navy-3: #6f8aa6;
  --paper-1: #fbf8f1;
  --paper-2: #f3ede0;
  --line-soft: #e7e1cf;
  --shadow-paper: 0 2px 4px rgba(20,30,50,.04), 0 12px 36px rgba(20,30,50,.08);
  --shadow-lift: 0 24px 60px -20px rgba(20,30,50,.22), 0 8px 22px rgba(20,30,50,.08);
  --rule: linear-gradient(90deg, transparent 0, var(--gold-1) 12%, var(--gold-2) 50%, var(--gold-1) 88%, transparent 100%);
}

/* ---------- Body 全体に紙質感の背景 ---------- */
body {
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(184,138,58,.07), transparent 70%),
    radial-gradient(900px 500px at -10% 30%, rgba(31,78,121,.05), transparent 70%),
    linear-gradient(180deg, #fbf8f1 0%, #ffffff 240px, #ffffff 100%);
}

/* ---------- スクロール演出 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .section, .hero-grid > *, .topic-card, .featured-card, .latest-card,
  .seasonal-card, .about-grid > *, .newsletter-card {
    animation: lp-rise .9s cubic-bezier(.2,.7,.2,1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Top Banner 上品化 ---------- */
.top-banner {
  background: linear-gradient(90deg, #0f1f33 0%, #1f4e79 50%, #0f1f33 100%) !important;
  letter-spacing: .08em !important;
  font-weight: 500;
  border-bottom: 1px solid rgba(216,181,107,.35);
}
.top-banner .dot {
  background: var(--gold-2) !important;
  box-shadow: 0 0 0 3px rgba(216,181,107,.25), 0 0 12px rgba(216,181,107,.6);
}

/* ---------- Header 重量感 ---------- */
.site-header.is-scrolled {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px rgba(20,30,50,.06) !important;
}
.brand-jp {
  font-family: var(--serif) !important;
  letter-spacing: .04em !important;
  font-weight: 700 !important;
}
.brand-sub {
  letter-spacing: .22em !important;
  color: var(--gold-1) !important;
  font-weight: 600 !important;
}
.primary-nav a {
  position: relative;
  font-weight: 500;
  letter-spacing: .04em;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: -6px;
  height: 2px;
  background: var(--gold-2);
  transition: left .3s ease, right .3s ease;
}
.primary-nav a:hover::after { left: 0; right: 0; }

/* ---------- Hero — 編集デザイン雑誌の顔 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(216,181,107,.10), transparent 70%),
    linear-gradient(180deg, #fbf8f1 0%, #f3ede0 100%) !important;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(184,138,58,.03) 0 1px, transparent 1px 8px);
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero::after {
  content: "MAINTENANCE × SAVING";
  position: absolute;
  right: -12px;
  top: 38%;
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  color: rgba(31,78,121,.04);
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  background: linear-gradient(90deg, rgba(216,181,107,.15), transparent);
  border-left: 3px solid var(--gold-2);
  font-family: var(--sans) !important;
  letter-spacing: .14em !important;
  color: var(--gold-1) !important;
  text-transform: none !important;
  font-weight: 700 !important;
}
.hero .eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold-1);
  display: inline-block;
}

.hero-title {
  font-family: var(--serif) !important;
  font-weight: 900 !important;
  letter-spacing: .005em !important;
  line-height: 1.18 !important;
  color: var(--navy-1) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-title .line {
  display: block;
  position: relative;
  padding-left: 28px;
}
.hero-title .line:first-child {
  font-size: clamp(44px, 6.4vw, 88px) !important;
  color: var(--navy-2) !important;
  letter-spacing: .02em !important;
}
.hero-title .line:first-child::before {
  content: "01";
  position: absolute;
  left: -4px;
  top: 8px;
  font-family: var(--num);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-1);
  letter-spacing: .1em;
  writing-mode: vertical-rl;
  border-left: 2px solid var(--gold-2);
  padding: 6px 4px 6px 6px;
}
.hero-title .line:nth-child(2),
.hero-title .line:nth-child(3) {
  font-size: clamp(34px, 4.8vw, 60px) !important;
}
.hero-title .line:last-child {
  background: linear-gradient(90deg, var(--gold-1) 0%, #8a6a2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900 !important;
}

.hero-lead {
  position: relative;
  padding: 18px 0 18px 22px !important;
  border-left: 1px solid var(--line-soft);
  font-size: 15px !important;
  line-height: 2 !important;
  color: var(--ink-soft) !important;
}
.hero-lead::before {
  content: "“";
  position: absolute;
  left: -8px; top: -16px;
  font-family: var(--serif);
  font-size: 64px;
  color: var(--gold-3);
  line-height: 1;
}

/* Hero Badges → 結果カード化 */
.hero-badges {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin-top: 24px !important;
}
.hero-badges li {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px !important;
  background: linear-gradient(180deg, #fff 0%, #fbf8f1 100%);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-paper);
  position: relative;
  overflow: hidden;
}
.hero-badges li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-3));
}
.hero-badges .badge-num {
  font-family: var(--num) !important;
  font-weight: 800 !important;
  font-size: 32px !important;
  color: var(--navy-1) !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
}
.hero-badges .badge-num sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-1);
  margin-left: 3px;
  vertical-align: baseline;
  letter-spacing: .05em;
}
.hero-badges li > span:last-child {
  font-size: 12px !important;
  color: var(--ink-muted) !important;
  letter-spacing: .02em;
}

/* Hero CTA */
.btn-primary {
  background: linear-gradient(180deg, #1f4e79 0%, #14304b 100%) !important;
  color: #fff !important;
  padding: 16px 28px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  box-shadow: 0 12px 28px rgba(31,78,121,.28), inset 0 1px 0 rgba(255,255,255,.18) !important;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(216,181,107,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost {
  background: transparent !important;
  border: 1px solid var(--navy-2) !important;
  color: var(--navy-2) !important;
  padding: 16px 24px !important;
  border-radius: 999px !important;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .3s ease, color .3s ease;
}
.btn-ghost:hover { background: var(--navy-2) !important; color: #fff !important; }

/* Hero Image */
.hero-image-frame {
  position: relative;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(216,181,107,.3);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  border-top: 2px solid var(--gold-2);
  border-left: 2px solid var(--gold-2);
  z-index: 2;
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  bottom: 12px; right: 12px;
  width: 36px; height: 36px;
  border-bottom: 2px solid var(--gold-2);
  border-right: 2px solid var(--gold-2);
  z-index: 2;
}
.hero-image-frame img {
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
}
.hero-image-frame:hover img { transform: scale(1.04); }
.hero-tag {
  background: rgba(20,48,75,.86) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(216,181,107,.4) !important;
  color: #fff !important;
  letter-spacing: .04em;
  font-weight: 600;
}
.hero-tag .tag-dot { background: var(--gold-2) !important; box-shadow: 0 0 12px var(--gold-2); }

.hero-stats { gap: 12px !important; margin-top: 18px !important; }
.hero-stats .stat {
  background: linear-gradient(180deg, #fff, #fbf8f1) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  box-shadow: var(--shadow-paper);
  position: relative;
  padding-left: 46px !important;
}
.hero-stats .stat::before {
  content: "✦";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gold-1);
}
.hero-stats .stat-num {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  color: var(--navy-1) !important;
  font-size: 16px !important;
}
.hero-stats .stat-label {
  font-size: 11.5px !important;
  color: var(--ink-muted) !important;
  margin-top: 4px;
  letter-spacing: .02em;
}

/* ---------- Section ヘッダー — 編集者の見出し ---------- */
.section { padding: 96px 24px !important; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--num) !important;
  font-size: 12px !important;
  letter-spacing: .26em !important;
  color: var(--gold-1) !important;
  font-weight: 700 !important;
}
.section-eyebrow::after {
  content: "";
  width: 48px; height: 1px;
  background: var(--rule);
}
.section-title {
  font-family: var(--serif) !important;
  font-weight: 900 !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  letter-spacing: .01em !important;
  color: var(--navy-1) !important;
  line-height: 1.4 !important;
  margin-top: 8px !important;
}
.section-lead {
  color: var(--ink-soft) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  margin-top: 14px !important;
  max-width: 720px;
}
.section-more {
  font-family: var(--num);
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--navy-2) !important;
  border-bottom: 1px solid var(--gold-2);
  padding-bottom: 4px;
}

/* ---------- Topics カード — 番号付き ---------- */
.topics-grid { gap: 24px !important; }
.topic-card {
  background: linear-gradient(180deg, #fff 0%, #fbf8f1 100%) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 18px !important;
  padding: 32px 28px 28px !important;
  box-shadow: var(--shadow-paper) !important;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: counter(topic-counter, decimal-leading-zero);
  counter-increment: topic-counter;
  position: absolute;
  right: 22px; top: 18px;
  font-family: var(--num);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-1);
  letter-spacing: .12em;
  opacity: .8;
}
.topic-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.topic-card:hover::after { transform: scaleX(1); }
.topics-grid { counter-reset: topic-counter; }
.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift) !important;
  border-color: var(--gold-2) !important;
}
.topic-icon {
  width: 56px !important; height: 56px !important;
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold-2) 100%) !important;
  color: var(--navy-1) !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px rgba(184,138,58,.25);
  margin-bottom: 16px;
}
.topic-icon svg { width: 26px; height: 26px; }
.topic-cat {
  font-family: var(--num) !important;
  font-size: 11px !important;
  letter-spacing: .18em !important;
  color: var(--gold-1) !important;
  font-weight: 700 !important;
}
.topic-title {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
  color: var(--navy-1) !important;
  margin: 8px 0 12px !important;
}
.topic-desc {
  font-size: 13.5px !important;
  line-height: 1.95 !important;
  color: var(--ink-soft) !important;
}
.topic-link {
  margin-top: 18px !important;
  font-weight: 600;
  color: var(--navy-2) !important;
  letter-spacing: .03em;
}
.topic-link .arrow { transition: transform .3s ease; }
.topic-card:hover .topic-link .arrow { transform: translateX(6px); }

/* ---------- Featured カード — エディトリアル ---------- */
.featured { background: linear-gradient(180deg, #fff 0%, #fbf8f1 100%); }
.featured-grid { gap: 24px !important; }
.featured-card {
  border-radius: 22px !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--line-soft) !important;
  box-shadow: var(--shadow-paper) !important;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift) !important;
}
.featured-image { overflow: hidden; position: relative; }
.featured-image img {
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.featured-card:hover .featured-image img { transform: scale(1.08); }
.featured-rank {
  position: absolute !important;
  top: 16px; left: 16px;
  background: linear-gradient(135deg, var(--navy-1), var(--navy-2)) !important;
  color: #fff !important;
  width: 56px !important; height: 56px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center; justify-content: center;
  border: 2px solid var(--gold-2);
  box-shadow: 0 6px 18px rgba(20,30,50,.25);
}
.featured-rank span {
  font-family: var(--num) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: .04em;
}
.featured-body { padding: 28px 30px 30px !important; }
.featured-meta .pill {
  background: var(--brand-soft) !important;
  color: var(--navy-2) !important;
  border: 1px solid rgba(31,78,121,.18);
  font-weight: 700;
  letter-spacing: .04em;
}
.featured-card h3 {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1.6 !important;
  color: var(--navy-1) !important;
  margin: 12px 0 10px !important;
}
.featured-excerpt {
  font-size: 14px !important;
  line-height: 2 !important;
  color: var(--ink-soft) !important;
}

/* ---------- Latest / Seasonal ---------- */
.latest-card {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid var(--line-soft) !important;
  background: #fff;
  box-shadow: var(--shadow-paper) !important;
  transition: transform .4s ease, box-shadow .4s ease;
}
.latest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift) !important; }
.latest-card h3 {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  color: var(--navy-1) !important;
}

.seasonal {
  background: linear-gradient(135deg, #14304b 0%, #1f4e79 50%, #2d6794 100%) !important;
  color: #fff !important;
  border-radius: 28px !important;
  position: relative;
  overflow: hidden;
}
.seasonal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(216,181,107,.18), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(216,181,107,.12), transparent 40%);
  pointer-events: none;
}
.seasonal .section-eyebrow { color: var(--gold-3) !important; }
.seasonal .section-eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold-3), transparent); }
.seasonal .section-title { color: #fff !important; }
.seasonal .section-lead { color: rgba(255,255,255,.85) !important; }
.seasonal-card {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(216,181,107,.25) !important;
  backdrop-filter: blur(10px);
  border-radius: 16px !important;
  transition: background .3s ease, transform .3s ease;
}
.seasonal-card:hover { background: rgba(255,255,255,.12) !important; transform: translateY(-4px); }
.seasonal-card h3 {
  font-family: var(--serif) !important;
  color: #fff !important;
}

/* ---------- About ---------- */
.about {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(216,181,107,.08), transparent 60%),
    linear-gradient(180deg, #fbf8f1 0%, #f3ede0 100%) !important;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.about-photo {
  border: 6px solid #fff;
  box-shadow: var(--shadow-lift);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--gold-2);
  border-radius: 50%;
  pointer-events: none;
}
.about h2 {
  font-family: var(--serif) !important;
  font-weight: 900 !important;
  color: var(--navy-1) !important;
}

/* ---------- Newsletter ---------- */
.newsletter-card {
  background: linear-gradient(135deg, #14304b 0%, #1f4e79 100%) !important;
  border: 1px solid rgba(216,181,107,.3) !important;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "✦";
  position: absolute;
  right: -10px; top: -20px;
  font-size: 200px;
  color: rgba(216,181,107,.06);
  font-family: var(--serif);
  pointer-events: none;
}
.newsletter-card h2 {
  font-family: var(--serif) !important;
  color: #fff !important;
  font-weight: 900 !important;
}
.newsletter-form button {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold-1) 100%) !important;
  color: var(--navy-1) !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #0f1f33 0%, #14304b 100%) !important;
  color: rgba(255,255,255,.78);
  border-top: 3px solid var(--gold-1);
}
.footer h4 {
  color: var(--gold-3) !important;
  letter-spacing: .12em;
  font-weight: 700;
}
.footer a:hover { color: var(--gold-2) !important; }

/* ---------- Float CTA ---------- */
.float-cta {
  background: rgba(20,48,75,.92) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216,181,107,.4) !important;
  letter-spacing: .04em;
  font-weight: 600;
  box-shadow: 0 18px 48px rgba(20,30,50,.35) !important;
}

/* ---------- Mobile 微調整 ---------- */
@media (max-width: 768px) {
  .hero::after { font-size: clamp(60px, 18vw, 120px); top: 60%; }
  .hero-badges { grid-template-columns: 1fr !important; }
  .section { padding: 72px 20px !important; }
  .hero-title .line:first-child::before { display: none; }
  .hero-title .line { padding-left: 0; }
  .featured-rank { width: 48px !important; height: 48px !important; }
  .featured-rank span { font-size: 15px !important; }
}

/* =====================================================
   Premium Overlay v2.1 — Contrast Fix
   背景に対して薄すぎる文字色を強化（WCAG AA 4.5:1 目安）
   ===================================================== */

:root {
  --gold-strong: #8a6420;   /* 旧 #b88a3a より濃い、白〜クリーム背景でも読める */
  --gold-deep:   #6b4d18;   /* 強調・タイトル用 */
}

/* 1. Hero タイトル「全額払わなくていい。」の金グラデが薄すぎ → 濃いめに */
.hero-title .line:last-child {
  background: linear-gradient(90deg, #7a5520 0%, #4a3110 100%) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 2. Hero リード文：上品さは保ちつつ可読性UP */
.hero-lead { color: #2a3343 !important; }
.hero-lead div { color: #2a3343 !important; }

/* 3. Hero badge カード下部のラベル（10年点検...等）：明るすぎ → 濃く */
.hero-badges li > span:last-child {
  color: #2c3447 !important;
  font-weight: 600 !important;
}
.hero-badges .badge-num sub { color: var(--gold-strong) !important; }

/* 4. Eyebrow / カテゴリラベル：金が白背景で薄い → 濃い金へ */
.hero .eyebrow,
.section-eyebrow,
.topic-cat,
.brand-sub {
  color: var(--gold-strong) !important;
}
.hero .eyebrow {
  background: linear-gradient(90deg, rgba(138,100,32,.12), transparent) !important;
  border-left-color: var(--gold-strong) !important;
}
.hero .eyebrow::before { background: var(--gold-strong) !important; }

/* 5. section-eyebrow の装飾線も濃く */
.section-eyebrow::after {
  background: linear-gradient(90deg, transparent 0, var(--gold-strong) 12%, #c8a45d 50%, var(--gold-strong) 88%, transparent 100%) !important;
}

/* 6. section-more の下線色 */
.section-more {
  color: var(--navy-1) !important;
  border-bottom-color: var(--gold-strong) !important;
}

/* 7. Topic カードの番号 ::before も濃い金 */
.topic-card::before { color: var(--gold-strong) !important; }

/* 8. Topic カード 説明文：少し濃く */
.topic-desc { color: #2f3848 !important; }
.topic-link { color: var(--navy-1) !important; }

/* 9. Hero 縦書き「01」装飾は背景白で薄かった → 濃く */
.hero-title .line:first-child::before {
  color: var(--gold-strong) !important;
  border-left-color: var(--gold-strong) !important;
}

/* 10. Featured pill：青背景の青文字でコントラスト不足 → 文字を濃紺に */
.featured-meta .pill {
  color: var(--navy-1) !important;
  background: #d9e3ee !important;
  border-color: rgba(20,48,75,.25) !important;
}
.featured-meta time { color: #4a5568 !important; font-weight: 500; }
.featured-excerpt { color: #2f3848 !important; }

/* 11. Latest カード本文・メタ：薄いグレーは読みづらい */
.latest-card p,
.latest-card time {
  color: #2f3848 !important;
}
.latest-card .latest-meta,
.latest-card time { color: #4a5568 !important; }

/* 12. Seasonal カード（ダーク背景）：金ラベルを明るく保つ */
.seasonal .topic-cat,
.seasonal-card .pill,
.seasonal-card time {
  color: #f1dfa6 !important;  /* gold-3 を維持（暗背景なので明るい金でOK） */
}
.seasonal-card p,
.seasonal-card .seasonal-desc {
  color: rgba(255,255,255,.92) !important;
}

/* 13. About 本文 */
.about p { color: #2a3343 !important; }
.about .about-stats span,
.about .about-stats strong { color: var(--navy-1) !important; }

/* 14. Newsletter（ネイビー背景）の補足文を白寄りに */
.newsletter-card p,
.newsletter-card .newsletter-note {
  color: rgba(255,255,255,.92) !important;
}
.newsletter-form input::placeholder { color: rgba(20,48,75,.55) !important; }

/* 15. Footer の補足テキスト */
.footer p,
.footer li,
.footer a { color: rgba(255,255,255,.85) !important; }
.footer small { color: rgba(255,255,255,.6) !important; }

/* 16. Top Banner のリンクも金で薄かった可能性 → 明るい金キープ */
.top-banner a { color: var(--gold-3, #f1dfa6) !important; text-decoration: underline; text-underline-offset: 3px; }

/* 17. Hero stats のラベル */
.hero-stats .stat-label { color: #2f3848 !important; }

/* 18. ヒーロー右下サブカード「施工業社の選び方」「無駄なメンテはしない」見出しは濃紺維持 */
.hero-stats .stat-num { color: var(--navy-1) !important; }

/* 19. nav リンク（白背景に紺）コントラスト確認 → 念押し */
.primary-nav a { color: #1a2332 !important; font-weight: 600 !important; }

/* v2.2 — Hero タイトル左肩の縦書き「01」装飾を削除 */
.hero-title .line:first-child::before { content: none !important; }
.hero-title .line { padding-left: 0 !important; }

/* v2.3 — Hero lead 1行目「74万円も浮かせることができました。」の改行抑制
   日本語プロポーショナル詰め組み(palt)＋letter-spacing短縮で文字幅を圧縮 */
.hero-lead {
  font-feature-settings: "palt" 1 !important;
  letter-spacing: 0 !important;
  padding-right: 0 !important;
}
.hero-lead div {
  font-feature-settings: "palt" 1 !important;
}

/* =====================================================
   Premium Overlay v2.4 — pill色統一 + About可読性強化
   ===================================================== */

/* v2.4-1 — Seasonal カード内 pill は modifier(pill-blue / pill-fire 等) によらず
   全カードで同じ金色ラベルに統一する。背景透過にして暗背景上で見やすく */
.seasonal-card .pill,
.seasonal-card .pill.pill-blue,
.seasonal-card .pill.pill-fire,
.seasonal-card .pill.pill-warn {
  background: rgba(216, 181, 107, .14) !important;
  color: #f1dfa6 !important;
  border: 1px solid rgba(216, 181, 107, .35) !important;
}

/* v2.4-2 — About セクション <li> 本文とその strong を WCAG AA 確保
   ※ v2.1 では .about p しか面倒見てなかった漏れを補修 */
.about li,
.about ul li,
.about .about-policy li,
.about .about-list li {
  color: #2a3343 !important;
}
.about li strong,
.about ul li strong,
.about .about-policy li strong {
  color: var(--navy-1) !important;
  font-weight: 800 !important;
}

/* v2.5 — About 自己紹介 2 段落のコントラスト修復
   <p> 内に <div> がネストされていてブラウザが <p> を強制クローズするため、
   後続2段落は .about-text 直下の <div> として残る。
   .about p しか面倒見ていなかった v2.1 / v2.4 では効かなかった部分を補修 */
.about .about-text > div,
.about .about-text > p,
.about .about-text p,
.about .about-text > p > div {
  color: #2a3343 !important;
  font-size: 16px !important;
  line-height: 1.95 !important;
}
.about .about-text > div:not(.about-photo):not(.about-deco) {
  margin: 14px 0 !important;
}
