/*
Theme Name: ANIBIS Media
Theme URI: https://media.anibiss.com/
Author: ANIBIS Inc. / M&U
Author URI: https://mmandu.com/
Description: BtoB動画マーケティング編集部メディア「ANIBIS Media」公式テーマ。Claude Design v2準拠 / 日本語B2Bフォントスタック / 説明会オートSaaS送客動線 / 行動心理学ベースのコピー＆構成 v6.2.1
Version: 6.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://media.anibiss.com/
Text Domain: anibis-media
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images
*/

/* ============================================
   ANIBIS Media — brand aligned stylesheet v4.0.0
   Brand reds: Bordeaux #8B1E2A / Coral #E94E4E
   Claude Design完全準拠
   ============================================ */

:root {
  --brand: #8B1E2A;
  --brand-dark: #6E1520;
  --brand-2: #E94E4E;
  --brand-soft: #FBE9E6;
  --brand-tint: #F7D9D4;
  --ink: #1F1F2E;
  --ink-2: #474759;
  --muted: #8B8B99;
  --paper: #FBF7F2;
  --paper-2: #F3EEE5;
  --line: #E5DED2;
  --cream: #FFF8EC;
  --yellow: #F5C84B;
  --green: #2FA373;
  --page-max: 1280px;
  --gutter: 24px;
}

[data-theme="dark"] {
  --ink: #F7F3EC;
  --ink-2: #cac4ba;
  --paper: #141319;
  --paper-2: #1C1B24;
  --muted: #8a8594;
  --line: #2D2B38;
  --brand-soft: #2a1a1c;
  --cream: #1f1b14;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Inter", system-ui, -apple-system, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.7;
}

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

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--brand);
  border-radius: 6px;
  color: #FBF7F2;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  background: var(--brand-2);
  border-radius: 50%;
}
.logo-text small {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  display: block;
  line-height: 1;
}
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  transition: color .15s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--brand); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #FBF7F2 !important;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 6px 10px;
  color: var(--ink);
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
}

/* ============================================
   ボタン共通
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--paper);
  color: var(--brand);
  border-color: var(--paper);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251,247,242,0.6);
}
.btn-secondary:hover { background: rgba(251,247,242,0.12); border-color: var(--paper); }
.btn-brand {
  background: var(--brand);
  color: var(--paper);
  border-color: var(--brand);
}
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251,247,242,0.5);
}
.btn-outline-white:hover { background: rgba(251,247,242,0.1); }

/* ============================================
   HERO — paper背景 + 右上ボルドー円形グラデ（subtle）
   赤ベタ塗り禁止
   ============================================ */
.hero {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,30,42,0.12) 0%, rgba(233,78,78,0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,200,75,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-tint);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245,200,75,0.3);
  flex-shrink: 0;
}
.hero h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 22px 0 18px;
  text-wrap: balance;
  color: var(--ink);
}
/* 黄色蛍光マーカー風ハイライト */
.hero h1 .mark {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 .1em;
  margin: 0 .05em;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-1deg);
}
.hero h1 .brand-accent { color: var(--brand); }
.hero .deck {
  font-size: 17px;
  line-height: 1.95;
  max-width: 52ch;
  color: var(--ink-2);
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
/* ヒーロー内CTAはボルドー背景 */
.hero .btn-hero-main {
  background: var(--brand);
  color: var(--paper);
  border-color: var(--brand);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background .18s, transform .18s;
}
.hero .btn-hero-main:hover { background: var(--brand-dark); transform: translateY(-2px); }
.hero .btn-hero-sub {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all .18s;
}
.hero .btn-hero-sub:hover { border-color: var(--brand); color: var(--brand); }

.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-meta b { color: var(--ink); font-weight: 700; }

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 5/5;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.hv-card {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
  padding: 18px;
}
.hv-main {
  inset: 40px 60px 60px 20px;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}
.hv-main .thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FFB89E 0%, #E94E4E 50%, #8B1E2A 100%);
}
.hv-main .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 6px 6px;
}
.hv-main .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.hv-main .timeline {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-main .bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 99px;
  overflow: hidden;
}
.hv-main .bar i { display: block; height: 100%; width: 38%; background: white; border-radius: 99px; }
.hv-main .tt { color: white; font-size: 11px; font-weight: 700; font-family: "JetBrains Mono", monospace; }

/* 浮遊アニメーション */
@keyframes float-a {
  from { transform: rotate(3deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-8px); }
}
@keyframes float-b {
  from { transform: rotate(-2deg) translateY(0); }
  to { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.hv-tag-a {
  right: -20px;
  top: 30px;
  width: 180px;
  animation: float-a 3s ease-in-out infinite alternate;
}
.hv-tag-a .lbl { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hv-tag-a .num { font-size: 34px; font-weight: 900; line-height: 1; margin: 4px 0 4px; color: var(--brand); letter-spacing: -0.02em; }
.hv-tag-a .num .pct { font-size: 18px; color: var(--brand-2); margin-left: 2px; }
.hv-tag-a .sub { font-size: 11px; color: var(--ink-2); font-weight: 600; }
.hv-tag-a .bars { display: flex; gap: 3px; align-items: flex-end; height: 24px; margin-top: 8px; }
.hv-tag-a .bars i { width: 8px; background: var(--brand-tint); border-radius: 2px; }
.hv-tag-a .bars i:nth-child(1) { height: 30%; }
.hv-tag-a .bars i:nth-child(2) { height: 55%; }
.hv-tag-a .bars i:nth-child(3) { height: 45%; }
.hv-tag-a .bars i:nth-child(4) { height: 80%; background: var(--brand); }
.hv-tag-a .bars i:nth-child(5) { height: 95%; background: var(--brand); }

.hv-tag-b {
  left: -10px;
  bottom: -10px;
  width: 220px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 18px;
  animation: float-b 3s ease-in-out 1.5s infinite alternate;
}
.hv-tag-b .lbl { font-size: 10px; color: var(--brand-2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hv-tag-b .t { font-size: 13px; font-weight: 700; margin-top: 6px; line-height: 1.5; }
.hv-tag-b .avatars { display: flex; margin-top: 10px; align-items: center; }
.hv-tag-b .avatars i {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--ink);
  display: inline-block;
  margin-left: -6px;
}
.hv-tag-b .avatars i:first-child { margin-left: 0; background: #F5C84B; }
.hv-tag-b .avatars i:nth-child(2) { background: #2FA373; }
.hv-tag-b .avatars i:nth-child(3) { background: #E94E4E; }
.hv-tag-b .avatars i:nth-child(4) { background: #3B82F6; }
.hv-tag-b .avatars span { margin-left: 8px; font-size: 11px; color: rgba(251,247,242,0.7); display: inline-flex; align-items: center; }

.hv-sparkle {
  position: absolute;
  width: 40px; height: 40px;
  color: var(--yellow);
  font-size: 40px;
  display: grid;
  place-items: center;
}
.hv-sparkle.s1 { top: -4px; left: -4px; animation: spin 20s linear infinite; }
.hv-sparkle.s2 { right: 40%; bottom: -10px; animation: spin 14s linear infinite reverse; }

/* ============================================
   LOGO STRIP
   ============================================ */
.logos-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
.logo-chip {
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  opacity: .78;
  border-right: 1px solid var(--line);
}
.logo-chip:last-child { border-right: none; }

/* ============================================
   セクション共通
   ============================================ */
.section { padding: 90px 0; position: relative; }
.section.alt { background: var(--paper-2); }

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 52px;
}
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  background: var(--brand-soft);
  border-radius: 999px;
}
.sec-kicker.dark { background: rgba(251,247,242,0.12); color: var(--yellow); }
.sec-head h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: balance;
}
.sec-head h2 em { font-style: normal; color: var(--brand); }
.sec-head h2 .u { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .08em; }
.sec-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.9;
  max-width: 62ch;
}

/* ============================================
   WHY（3カード）
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 14px 40px -10px rgba(139,30,42,0.18);
}
.why-no {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--brand); color: var(--paper);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-family: "Inter", sans-serif;
  font-size: 15px; letter-spacing: .02em;
  box-shadow: 0 6px 16px -4px rgba(139,30,42,0.4);
}
.why-icon {
  width: 56px; height: 56px;
  background: var(--brand-soft);
  border-radius: 14px;
  display: grid; place-items: center;
  margin: 8px 0 18px;
  color: var(--brand);
  font-size: 22px;
}
.why-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.005em; line-height: 1.4; }
.why-card h3 em { color: var(--brand); font-style: normal; }
.why-card p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.95; }
.why-stat {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.why-stat .big {
  font-family: "Inter", sans-serif; font-weight: 900;
  font-size: 36px; line-height: 1;
  color: var(--brand); letter-spacing: -0.03em;
}
.why-stat .big .unit { font-size: 16px; color: var(--brand-2); margin-left: 2px; }
.why-stat .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ============================================
   NUMBERS（4指標）— brand-soft背景
   ============================================ */
.numbers-section { background: var(--brand-soft); }
.numbers-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
}
.num-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.num-cell:last-child { border-right: none; }
.num-cell .big {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-weight: 900;
  font-size: 48px; line-height: 1;
  color: var(--ink); letter-spacing: -0.03em;
}
.num-cell .big .unit { color: var(--brand); font-size: 20px; margin-left: 2px; }
.num-cell .lbl { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.num-cell .sub { color: var(--muted); font-size: 11px; margin-top: 4px; }

/* ============================================
   最新記事
   ============================================ */
.tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab {
  padding: 10px 18px;
  font-size: 13px; font-weight: 700;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink-2); border-radius: 999px;
  cursor: pointer; transition: all .15s;
  font-family: inherit;
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.active { background: var(--brand); border-color: var(--brand); color: var(--paper); }

.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.art {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.art:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.15); }
.art-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.art-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
}
.art-thumb .cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper); color: var(--brand);
  font-size: 11px; font-weight: 700; padding: 5px 11px;
  border-radius: 999px; z-index: 1; letter-spacing: .01em;
}
.art-thumb .dur {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.6); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 8px;
  border-radius: 6px; font-family: "JetBrains Mono", monospace;
  letter-spacing: .02em; z-index: 1;
}
.art-thumb .play-btn {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); color: var(--brand);
  display: grid; place-items: center; font-size: 15px;
  z-index: 1; box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.art-thumb .plate-icon {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.25); font-size: 60px;
  font-weight: 900; font-family: "Inter", sans-serif;
  letter-spacing: -0.04em; pointer-events: none; z-index: 0;
}
.art-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.art h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.55; letter-spacing: -0.005em; }
.art:hover h3 { color: var(--brand); }
.art p { margin: 0 0 16px; color: var(--ink-2); font-size: 13px; line-height: 1.8; flex: 1; }
.art-meta {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--muted);
}
.art-meta .avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 900; color: var(--brand); flex-shrink: 0;
}
.art-meta b { color: var(--ink); font-weight: 700; font-size: 12px; }
.art-meta .date { margin-left: auto; font-family: "JetBrains Mono", monospace; }

/* カラープレート */
.plate-red { background: linear-gradient(135deg, #FFB89E, #E94E4E 55%, #8B1E2A); }
.plate-ink { background: linear-gradient(150deg, #2D2B38, #1F1F2E 60%, #0E0D14); }
.plate-cream { background: linear-gradient(170deg, #FFF8EC, #F5C84B 75%, #E89B2A); }
.plate-forest { background: linear-gradient(135deg, #7DDFA9, #2FA373 55%, #1A5B43); }
.plate-blue { background: linear-gradient(135deg, #9DB9FF, #3B82F6 55%, #1D4ED8); }
.plate-mix { background: linear-gradient(135deg, #F5C84B 0%, #E94E4E 50%, #8B1E2A 100%); }

/* ============================================
   巻頭特集
   ============================================ */
.feature-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 50px; align-items: center;
}
.feature-copy h3 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 900;
  line-height: 1.3; letter-spacing: -0.01em; margin: 12px 0 18px;
}
.feature-copy h3 em { color: var(--brand); font-style: italic; }
.feature-copy p { color: var(--ink-2); line-height: 1.95; margin: 0 0 22px; font-size: 15px; }
.feature-list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.7; color: var(--ink);
}
.feature-list li::before {
  content: "✓"; color: var(--paper); background: var(--brand);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
  flex-shrink: 0; margin-top: 2px;
}
.feature-visual {
  position: relative; aspect-ratio: 4/3; background: var(--brand);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(139,30,42,0.35);
}
.feature-visual .bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--brand-2), transparent 50%),
    radial-gradient(circle at 20% 80%, #3B82F6, transparent 55%),
    var(--brand);
}
.feature-visual .bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 0);
  background-size: 14px 14px;
}
.feature-visual .label {
  position: absolute; top: 18px; left: 20px;
  background: rgba(0,0,0,0.4); color: white;
  font-size: 11px; font-weight: 700; padding: 5px 10px;
  border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; z-index: 1;
}
.feature-visual .play-big {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--paper); color: var(--brand);
  display: grid; place-items: center; font-size: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform .2s; z-index: 1;
}
.feature-visual .play-big:hover { transform: translate(-50%, -50%) scale(1.08); }
.feature-visual .title {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  color: white; font-weight: 900; font-size: 20px;
  line-height: 1.4; letter-spacing: -0.005em; z-index: 1;
}

/* ============================================
   事例
   ============================================ */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px;
}
.case-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .2s, transform .2s;
}
.case-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.case-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.case-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand); color: var(--paper);
  display: grid; place-items: center; font-weight: 900; font-size: 14px; flex-shrink: 0;
}
.case-industry { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.case-client { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.case-quote { margin: 0; font-size: 14px; line-height: 1.95; color: var(--ink); font-weight: 500; }
.case-quote::before { content: "\201C"; color: var(--brand); font-size: 24px; font-weight: 900; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.case-quote::after { content: "\201D"; color: var(--brand); font-size: 24px; font-weight: 900; line-height: 0; vertical-align: -8px; margin-left: 2px; }
.case-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 11px; color: var(--muted); font-weight: 600; }
.case-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ============================================
   カテゴリ
   ============================================ */
.cats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cat-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; transition: all .18s;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  opacity: 0; transition: opacity .2s; z-index: 0;
}
.cat-card:hover { border-color: transparent; transform: translateY(-3px); }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; transition: color .2s; }
.cat-card:hover > * { color: var(--paper); }
.cat-card:hover .cat-count { color: rgba(251,247,242,0.8); }
.cat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 900;
  transition: background .2s, color .2s;
}
.cat-card:hover .cat-icon { background: rgba(251,247,242,0.2); color: var(--paper); }
.cat-card h4 { margin: 6px 0 0; font-size: 17px; font-weight: 800; letter-spacing: -0.005em; }
.cat-en { font-size: 11px; color: var(--muted); font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: .04em; }
.cat-count { margin-top: auto; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); }

/* ============================================
   ニュースレター
   ============================================ */
.newsletter-box {
  background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 22px; padding: 48px 52px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center; position: relative; overflow: hidden;
}
.newsletter-box::before {
  content: "✱"; position: absolute; top: -20px; right: -16px;
  font-size: 140px; color: var(--brand-soft); font-weight: 900;
  line-height: 1; transform: rotate(8deg);
}
.newsletter-box h3 {
  margin: 10px 0 10px;
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 900;
  line-height: 1.35; letter-spacing: -0.005em;
}
.newsletter-box p { margin: 0; color: var(--ink-2); line-height: 1.9; font-size: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.nl-input-row {
  display: flex; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 4px 4px 20px; align-items: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.nl-input-row input {
  flex: 1; border: none; background: transparent;
  padding: 12px 0; font-size: 14px; outline: none;
  color: var(--ink); font-family: inherit;
}
.nl-input-row button {
  background: var(--brand); color: var(--paper);
  border: none; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 13px; cursor: pointer;
  transition: background .15s; font-family: inherit;
}
.nl-input-row button:hover { background: var(--brand-dark); }
.nl-fine { font-size: 11px; color: var(--muted); padding-left: 6px; }

/* ============================================
   Service CTA（#141319 背景）
   ============================================ */
.service-cta {
  background: #141319;
  color: var(--paper); padding: 80px 0;
  position: relative; overflow: hidden;
}
.service-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(233,78,78,0.25), transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(139,30,42,0.3), transparent 40%);
}
.service-cta::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.05) 1.2px, transparent 0);
  background-size: 12px 12px; pointer-events: none;
}
.service-cta-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
}
.service-cta h2 {
  font-weight: 900; font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.2; letter-spacing: -0.01em; margin: 18px 0 20px; color: var(--paper);
}
.service-cta h2 .u { background: linear-gradient(transparent 62%, var(--yellow) 62%); color: var(--ink); padding: 0 .1em; }
.service-cta p { font-size: 16px; line-height: 1.95; margin: 0 0 28px; color: rgba(251,247,242,0.88); max-width: 52ch; }
.service-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-specs-box {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px; padding: 24px; backdrop-filter: blur(6px);
}
.cta-specs-box h4 { margin: 0 0 14px; font-size: 12px; font-weight: 700; color: var(--yellow); letter-spacing: .14em; text-transform: uppercase; }
.cta-spec-row { display: grid; grid-template-columns: 130px 1fr; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.15); font-size: 14px; line-height: 1.6; }
.cta-spec-row:first-of-type { border-top: none; padding-top: 4px; }
.cta-spec-row .k { color: rgba(251,247,242,0.7); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.cta-spec-row .v { color: var(--paper); font-weight: 600; }

/* ============================================
   フッター — ink背景
   ============================================ */
.site-footer {
  background: #1F1F2E;
  color: rgba(251,247,242,0.75); padding: 64px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(251,247,242,0.15);
}
.site-footer .site-logo { color: var(--paper); }
.footer-tagline { font-size: 13px; line-height: 1.9; margin: 18px 0 20px; max-width: 38ch; }
.footer-col h5 { margin: 0 0 14px; font-size: 12px; font-weight: 700; color: var(--paper); letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(251,247,242,0.75); text-decoration: none; font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: rgba(251,247,242,0.55);
  flex-wrap: wrap; gap: 16px;
}

/* ============================================
   記事詳細
   ============================================ */
.single-wrap { padding: 60px 0; }
.single-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 48px; align-items: start;
}
.single-header {
  background: var(--paper); padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--muted); flex-wrap: wrap; margin: 0 0 24px;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { color: var(--line); }
.single-cat-badge {
  display: inline-block; background: var(--brand-soft); color: var(--brand);
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.single-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 24px; }
.single-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.author-av { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 12px; font-weight: 900; color: var(--brand); }
.single-meta .author-name { font-weight: 700; color: var(--ink); }
.single-meta .date { font-family: "JetBrains Mono", monospace; }

.single-content { background: var(--paper); border-radius: 16px; padding: 40px; }
.single-content h2 { font-size: 26px; font-weight: 900; line-height: 1.35; letter-spacing: -0.01em; margin: 48px 0 16px; color: var(--ink); border-left: 4px solid var(--brand); padding-left: 16px; }
.single-content h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 36px 0 12px; color: var(--ink); }
.single-content p { margin: 0 0 22px; line-height: 1.9; }
.single-content ul, .single-content ol { margin: 0 0 22px; padding-left: 24px; line-height: 1.9; }
.single-content li { margin-bottom: 8px; }
.single-content blockquote { border-left: 3px solid var(--brand); margin: 32px 0; padding: 16px 24px; background: var(--brand-soft); border-radius: 0 12px 12px 0; font-style: italic; color: var(--ink-2); }
.single-content img { border-radius: 12px; width: 100%; }

.toc-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 0 0 32px; }
.toc-box h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.toc-list a { font-size: 13px; color: var(--ink-2); text-decoration: none; display: flex; gap: 8px; align-items: baseline; }
.toc-list a:hover { color: var(--brand); }
.toc-list a::before { content: "—"; font-size: 10px; color: var(--line); flex-shrink: 0; }

.sidebar-cta { background: var(--brand); color: var(--paper); border-radius: 16px; padding: 28px 24px; position: sticky; top: 80px; }
.sidebar-cta .sc-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-tint); margin-bottom: 10px; }
.sidebar-cta h4 { font-size: 18px; font-weight: 900; line-height: 1.4; margin: 0 0 12px; }
.sidebar-cta p { font-size: 13px; line-height: 1.8; color: rgba(251,247,242,0.8); margin: 0 0 20px; }
.sidebar-cta a { display: block; background: var(--paper); color: var(--brand); text-align: center; padding: 14px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .15s; }
.sidebar-cta a:hover { transform: translateY(-2px); }

.author-box { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 0; }
.author-av-lg { width: 60px; height: 60px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 20px; font-weight: 900; color: var(--brand); flex-shrink: 0; }
.author-name-lg { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.author-role { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.author-bio { font-size: 13px; color: var(--ink-2); line-height: 1.8; margin: 0; }

.related-articles { padding: 60px 0; background: var(--paper-2); }

/* ============================================
   アーカイブ
   ============================================ */
.archive-hero { background: var(--brand); color: var(--paper); padding: 60px 0; position: relative; overflow: hidden; }
.archive-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 20%, rgba(233,78,78,0.4), transparent 50%), radial-gradient(circle at 10% 80%, rgba(110,21,32,0.6), transparent 40%); }
.archive-hero-inner { position: relative; z-index: 1; }
.archive-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; margin: 0 0 12px; }
.archive-hero p { font-size: 16px; color: rgba(251,247,242,0.85); margin: 0; max-width: 56ch; }

/* ============================================
   404
   ============================================ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px var(--gutter); }
.error-big-num { font-family: "Noto Serif JP", serif; font-size: 120px; font-weight: 900; color: var(--brand); line-height: 1; opacity: .3; }
.error-page h1 { font-size: 32px; font-weight: 900; margin: 0 0 16px; }
.error-page p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 32px; }

/* ============================================
   スクロールリビール
   ============================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: all .8s cubic-bezier(.2,.7,.1,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================
   密度変更
   ============================================ */
[data-density="airy"] .section { padding: 120px 0; }
[data-density="tight"] .section { padding: 60px 0; }

/* ============================================
   フォーカスリング
   v6.2.1: main.css の v6.2.1セクションに統合済み（3px / forced-colors対応）
   ============================================ */
/* :focus-visible は main.css で定義 */

/* ============================================
   レスポンシブ
   NOTE: v6.2.1 — main.css が実クラス（.articles/.cases 等）を持つ。
   ここは旧クラス名（-grid/-row/-box 等）と単一ページ用の補完。
   v6.2.0 新規セクション（pain-hook/structure/pricing）は main.css の
   v6.2.1セクションで管理。
   ============================================ */
@media (max-width: 1023px) {
  /* 旧クラス互換 */
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .numbers-row { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { grid-template-columns: 1fr; }
  .service-cta-inner { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logos-row { grid-template-columns: repeat(3, 1fr); }
  .numbers-row { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { padding: 32px 24px; }
  /* モバイルナビ：main.css の .nav ul で制御 */
  .nav ul { display: none; }
  .nav ul.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 24px; gap: 16px; z-index: 100;
  }
  .nav-toggle { display: block; }
}
