/* ===== RE:Insight Ghost Theme — screen.css ===== */
/* Brand: Deep Navy × Neon Cyan */

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'DM Sans', -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-deepest);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* Design Tokens */
:root {
  /* === ベース背景 === */
  --bg-deepest: #0e1117;
  --bg-dark: #12161e;
  --bg-surface: #181d27;
  --bg-card: #f7f7f5;
  --bg-card2: #ffffff;
  /* === ボーダー === */
  --border: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.12);
  --card-border: #eae8e3;
  /* === アクセント（限定使用） === */
  --cyan: #00c8ff;
  --cyan-dim: rgba(0, 200, 255, 0.08);
  --cyan-border: rgba(0, 200, 255, 0.18);
  --cyan-glow: 0 0 6px rgba(0, 200, 255, 0.3);
  /* === 青（Rating A 用） === */
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.12);
  /* === テキスト（ダーク背景上） === */
  --text-primary: #e4e7ed;
  --text-secondary: #9ca3b0;
  --text-muted: #5a6070;
  /* === テキスト（ライトカード上） === */
  --card-text: #1a1a18;
  --card-text-sub: #8a8880;
  /* === セマンティックカラー === */
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.12);
  --yellow: #f59e0b;
  --yellow-bg: rgba(245, 158, 11, 0.12);
  --orange: #f97316;
  --orange-bg: rgba(249, 115, 22, 0.12);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.12);
  /* === Rating（ライトカード上パステル系） === */
  --rating-aa-bg: #e8f5ee;
  --rating-aa-text: #1a6b45;
  --rating-aa-border: #c5e4d2;
  --rating-a-bg: #e6eef8;
  --rating-a-text: #2d5a8a;
  --rating-a-border: #c4d8ee;
  --rating-b-bg: #f0eeea;
  --rating-b-text: #6b6860;
  --rating-b-border: #dddad4;
  --rating-c-bg: #fef3e2;
  --rating-c-text: #8a5a1a;
  --rating-c-border: #f0d8a8;
  --rating-d-bg: #fde8e8;
  --rating-d-text: #8a2020;
  --rating-d-border: #f0b8b8;
  /* === レイアウト === */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-glow: none;
}

/* ===== Header ===== */
.header {
  background: rgba(18, 22, 30, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.2));
  display: block;
}

.logo-icon-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--cyan);
  font-family: 'DM Sans', sans-serif;
}

.logo-text {
  font-size: 1.28rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
  color: #fff;
}

.logo-text span {
  color: var(--cyan);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a.active {
  color: var(--cyan);
  text-shadow: none;
}

.nav-x-btn {
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.nav-x-btn:hover {
  background: rgba(0, 200, 255, 0.25);
  box-shadow: var(--cyan-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(18, 22, 30, 0.3) 0%,
      rgba(18, 22, 30, 0.5) 50%,
      rgba(14, 17, 23, 0.95) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.hero-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-logo-center img,
.hero-logo-img {
  height: 80px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.25));
  animation: none;
}

.hero-logo-center .brand-name {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-logo-center .brand-name span {
  color: var(--cyan);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px var(--cyan);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 2px var(--cyan);
  }
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
}

.hero h1 .accent {
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  background: none;
}

.hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===== Stats ===== */
.stats-wrap {
  max-width: 1200px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: none;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--border-hover);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ===== Section ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  width: 2px;
  height: 16px;
  background: var(--cyan);
  border-radius: 1px;
  box-shadow: var(--cyan-glow);
  display: block;
  flex-shrink: 0;
}

.section-link {
  font-size: 0.83rem;
  color: var(--cyan);
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.section-link:hover {
  opacity: 1;
}

/* ===== Fund Cards ===== */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fund-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.fund-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-review-card {
  background: #f5f5fa;
  border-color: #dddcea;
}

.service-review-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.fund-card-top {
  padding: 20px 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fund-platform {
  font-size: 0.7rem;
  color: var(--card-text-sub);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fund-name {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--card-text);
  margin-top: 5px;
  letter-spacing: -0.01em;
}

.rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
  border: 1px solid;
}

.rating-aa {
  background: var(--rating-aa-bg);
  color: var(--rating-aa-text);
  border-color: var(--rating-aa-border);
  box-shadow: none;
}

.rating-a {
  background: var(--rating-a-bg);
  color: var(--rating-a-text);
  border-color: var(--rating-a-border);
}

.rating-b {
  background: var(--rating-b-bg);
  color: var(--rating-b-text);
  border-color: var(--rating-b-border);
}

.rating-c {
  background: var(--rating-c-bg);
  color: var(--rating-c-text);
  border-color: var(--rating-c-border);
}

.rating-d {
  background: var(--rating-d-bg);
  color: var(--rating-d-text);
  border-color: var(--rating-d-border);
}

.fund-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 0;
  border-top: 1px solid var(--card-border);
}

.service-review-card .fund-metrics {
  grid-template-columns: repeat(2, 1fr);
}

.fund-metric {
  padding: 14px 0;
  text-align: center;
  border-right: 1px solid var(--card-border);
}

.fund-metric:last-child {
  border-right: none;
}

.metric-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--card-text);
  font-family: 'DM Sans', sans-serif;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.fund-summary {
  padding: 14px 20px 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-soft);
}

/* ===== Hero v3（金融端末 × 不動産レポート風） ===== */
.hero.hero-v3 {
  position: relative;
  display: block;
  padding: 0;
  background: var(--bg-dark);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-v3-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.hero-v3-corner {
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 1;
}

.hero-v3-corner-tl {
  top: 56px;
  left: 24px;
  border-top: 1px solid rgba(0, 200, 255, 0.2);
  border-left: 1px solid rgba(0, 200, 255, 0.2);
}

.hero-v3-corner-br {
  bottom: 32px;
  right: 24px;
  border-bottom: 1px solid rgba(0, 200, 255, 0.2);
  border-right: 1px solid rgba(0, 200, 255, 0.2);
}

/* ティッカーバー */
.hero-ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  background: rgba(10, 14, 21, 0.85);
  border-bottom: 1px solid rgba(0, 200, 255, 0.15);
  font-size: 0.8rem;
  height: 36px;
}

.hero-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan);
  color: #0a0e15;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.hero-ticker-dot {
  width: 6px;
  height: 6px;
  background: #0a0e15;
  border-radius: 50%;
  animation: dot-pulse 2s infinite;
}

.hero-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}

.hero-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  padding-left: 24px;
}

.hero-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  color: var(--text-secondary);
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.hero-ticker-item:hover {
  color: var(--cyan);
}

.hero-ticker-plat {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.72rem;
}

.hero-ticker-sep {
  color: rgba(255, 255, 255, 0.2);
}

.hero-ticker-title {
  font-size: 0.78rem;
}

.hero-ticker-fallback {
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* サブヘッダー */
.hero-v3-subheader {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 32px;
  background: rgba(10, 14, 21, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'DM Sans', monospace;
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-v3-sub-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-v3-sub-lbl {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.hero-v3-sub-val {
  color: var(--text-primary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero-v3-sub-unit {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
}

.hero-v3-sub-status {
  margin-left: auto;
}

.hero-v3-status-dot {
  width: 7px;
  height: 7px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
  animation: dot-pulse 2s infinite;
}

/* メイン2カラム */
.hero-v3-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 72px;
}

.hero-v3-left {
  min-width: 0;
}

.hero-v3-eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 2px solid var(--cyan);
  margin-bottom: 24px;
}

.hero-v3-h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 24px;
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
}

.hero-v3-h1 .line {
  display: block;
}

.hero-v3-h1 .accent {
  color: var(--cyan);
}

.hero-v3-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  padding-left: 14px;
  border-left: 1px solid rgba(0, 200, 255, 0.25);
  margin: 0 0 28px;
  max-width: 540px;
}

.hero-v3-keypoints {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-v3-kp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.hero-v3-kp-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-v3-kp-check::after {
  content: '';
  width: 6px;
  height: 3.5px;
  border-left: 1.8px solid var(--cyan);
  border-bottom: 1.8px solid var(--cyan);
  transform: rotate(-45deg) translate(1px, -1px);
}

.hero-v3-kp-num {
  color: var(--cyan);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

.hero-v3-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-v3-cta-primary {
  background: var(--cyan);
  color: #0a0e15;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.hero-v3-cta-primary:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 200, 255, 0.25);
}

.hero-v3-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.hero-v3-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

/* ダッシュボードカード（右カラム） */
.hero-v3-dashboard {
  background: rgba(10, 14, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  padding: 20px;
  align-self: start;
}

.hero-v3-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-v3-dash-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  font-family: 'DM Sans', monospace;
}

.hero-v3-dash-badge {
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-v3-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}

.hero-v3-dash-cell {
  background: rgba(10, 14, 21, 0.95);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-v3-dash-num {
  font-family: 'DM Sans', sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero-v3-dash-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-v3-dash-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.hero-v3-dash-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.hero-v3-dash-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'DM Sans', monospace;
  padding-top: 4px;
}

.hero-v3-dash-foot-sep {
  color: rgba(255, 255, 255, 0.2);
}


.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-primary {
  background: var(--cyan);
  color: #0a0e15;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
}

.hero-cta-primary:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 200, 255, 0.2);
}

.hero-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}

.hero-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

/* ===== 募集中のファンド ===== */
.recruiting-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.recruiting-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.recruiting-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #e24b4a;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(226, 75, 74, 0.5);
  position: relative;
  flex-shrink: 0;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(226, 75, 74, 0.3);
  animation: livedot-pulse 2s ease-out infinite;
}

@keyframes livedot-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.recruiting-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recruiting-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.recruiting-count {
  background: rgba(226, 75, 74, 0.1);
  color: #e24b4a;
  border: 1px solid rgba(226, 75, 74, 0.25);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

.recruiting-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.rec-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.rec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.rec-card-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e24b4a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.rec-card-top {
  padding: 16px 16px 12px;
}

.rec-plat {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.rec-title {
  font-size: 0.88rem;
  color: var(--card-text);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.5;
  padding-right: 52px;
  letter-spacing: -0.01em;
}

.rec-metrics {
  display: flex;
  border-top: 1px solid var(--card-border);
}

.rec-m {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  border-right: 1px solid var(--card-border);
  background: var(--bg-card2);
}

.rec-m:last-child {
  border-right: none;
}

.rec-m-val {
  font-size: 0.88rem;
  color: var(--card-text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-family: 'DM Sans', sans-serif;
}

.rec-m-lbl {
  font-size: 0.62rem;
  color: var(--card-text-sub);
  margin-top: 2px;
}

.rec-rating-row {
  padding: 10px 16px;
  background: #f0eeea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--card-border);
}

.rec-rating-lbl {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  font-weight: 500;
}

.rec-rating-row .rating {
  min-width: 32px;
  height: 26px;
  font-size: 0.78rem;
  border-radius: 4px;
}

/* ===== Section header拡張 ===== */
.section-header h2.section-title,
.section-header .section-title {
  margin: 0;
}

.section-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding-left: 12px;
}

/* ===== プラットフォーム別タイル ===== */
.svc-tile-section {
  margin-top: 24px;
}

.svc-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.svc-tile {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.svc-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.svc-tile-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e6f4fb;
  border: 1px solid #c4ddef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #2d5a8a;
  font-family: 'DM Sans', sans-serif;
}

.svc-tile-name {
  font-size: 0.82rem;
  color: var(--card-text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.svc-tile-count {
  font-size: 0.68rem;
  color: var(--card-text-sub);
}

/* ===== Explainer（仕組み） ===== */
.explainer-section {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 24px;
}

.explainer-inner {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.explainer-head {
  text-align: center;
  margin-bottom: 28px;
}

.explainer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.explainer-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.explainer-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}

.explainer-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-family: 'DM Sans', sans-serif;
}

.explainer-step-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.explainer-step-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ボトムCTA ===== */
.bottom-cta-section {
  max-width: 1200px;
  margin: 48px auto 60px;
  padding: 0 24px;
}

.bottom-cta {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.06), rgba(59, 130, 246, 0.03));
  border: 1px solid rgba(0, 200, 255, 0.15);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
}

.bottom-cta h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bottom-cta p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.bottom-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== How it Works ===== */
.how-bar {
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 0 24px;
}

.how-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.how-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.how-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Detail Hero ===== */
.detail-hero {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 24px;
}

.detail-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.detail-breadcrumb {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-breadcrumb a {
  color: var(--cyan);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.detail-rating-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid;
}

.detail-rating-box.rating-aa {
  background: var(--green-bg);
  border-color: rgba(16, 185, 129, 0.4);
}

.detail-rating-box.rating-aa .grade,
.detail-rating-box.rating-aa .grade-label {
  color: var(--green);
}

.detail-rating-box.rating-a {
  background: var(--blue-dim);
  border-color: rgba(59, 130, 246, 0.4);
}

.detail-rating-box.rating-a .grade,
.detail-rating-box.rating-a .grade-label {
  color: var(--blue);
}

.detail-rating-box.rating-b {
  background: rgba(250, 204, 21, 0.1);
  border-color: rgba(250, 204, 21, 0.25);
}

.detail-rating-box.rating-b .grade,
.detail-rating-box.rating-b .grade-label {
  color: #facc15;
}

.detail-rating-box.rating-c {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.detail-rating-box.rating-c .grade,
.detail-rating-box.rating-c .grade-label {
  color: var(--yellow);
}

.detail-rating-box.rating-d {
  background: var(--red-bg);
  border-color: rgba(239, 68, 68, 0.4);
}

.detail-rating-box.rating-d .grade,
.detail-rating-box.rating-d .grade-label {
  color: var(--red);
}

.detail-rating-box .grade {
  font-size: 2rem;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}

.detail-rating-box .grade-label {
  font-size: 0.62rem;
  font-weight: 700;
  margin-top: 2px;
}

.detail-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.detail-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.detail-summary-box {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--orange-bg);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.8;
}

/* Table Mobile Support */
.article-content .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
}

.article-content table {
  min-width: 500px;
}

/* ===== Article Layout ===== */
.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 16px;
  border-left: 2px solid var(--cyan);
  background: rgba(0, 200, 255, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 36px 0 18px;
}

.article-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.article-content p {
  font-size: 1.0rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.9;
}

.article-content strong {
  color: #fff;
}

.article-content ul,
.article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-content li {
  font-size: 1.0rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  font-size: 0.92rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 14, 21, 0.4);
}

.article-content th {
  background: rgba(0, 200, 255, 0.06);
  color: var(--text-primary);
  text-align: left;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  /* 日本語が大半のためuppercaseは無効化（letter-spacingも縮小） */
  text-transform: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(0, 200, 255, 0.2);
  white-space: nowrap;
}

.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  vertical-align: top;
}

/* 数値・金額の右寄せヒント（列単位での適用は md→html 変換側に依存するため、
   2列目以降に数値が来ることが多いケースで tabular-nums のみ強制） */
.article-content td:not(:first-child),
.article-content th:not(:first-child) {
  font-variant-numeric: tabular-nums;
}

/* ストライプ */
.article-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

/* ホバー（マウス時に行をハイライト） */
.article-content tbody tr:hover td {
  background: rgba(0, 200, 255, 0.04);
}

/* 最終行の罫線を除去（外枠と二重線にしない） */
.article-content table tr:last-child td {
  border-bottom: none;
}

/* セル内 strong は cyan 系で目立たせる（NOI 等の総計行で使われる） */
.article-content td strong,
.article-content th strong {
  color: var(--cyan);
  font-weight: 700;
}

.article-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 12px 20px;
  background: rgba(0, 200, 255, 0.04);
  margin: 20px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal;
}

.article-content code {
  background: var(--bg-surface);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--cyan);
  border: 1px solid var(--border);
}

/* Disclaimer */
.disclaimer-box {
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.disclaimer-box strong {
  color: var(--text-secondary);
}

/* Share */
.share-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.share-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
}

.share-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.share-x {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.share-x:hover {
  background: #111;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 84px;
}

.toc {
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
}

.toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.toc a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--border);
  transition: all 0.2s;
}

.toc a:hover {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.cta-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background: var(--cyan);
  color: #000;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: none;
}

.cta-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
}

.footer-brand-name span {
  color: var(--cyan);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-nav-group a {
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-nav-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-disclaimer {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .fund-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .fund-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero 縮小 */
  .hero {
    min-height: 360px;
  }

  .hero-content {
    padding: 48px 20px 60px;
  }

  .hero-logo-center img,
  .hero-logo-img {
    height: 56px;
    max-width: 240px;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .hero p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  /* Stats 縮小 */
  .stats-wrap {
    margin-top: -24px;
  }

  .stat-card {
    padding: 14px 8px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  /* 記事ヘッダー: Ratingバッジ＋タイトルを縦並びに */
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .detail-rating-box {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .detail-rating-box .grade {
    font-size: 1.5rem;
  }

  .detail-title {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .detail-hero {
    padding: 24px 16px;
  }

  .detail-breadcrumb {
    font-size: 0.68rem;
    margin-bottom: 14px;
  }

  /* 記事レイアウト */
  .article-layout {
    padding: 24px 16px 60px;
    gap: 24px;
  }

  .article-content h2 {
    font-size: 0.95rem;
    padding: 10px 14px;
    margin: 28px 0 14px;
  }

  .article-content p,
  .article-content li {
    font-size: 0.88rem;
    line-height: 1.8;
  }

  /* Score Gauges: 縦並び or サイズ縮小 */
  .score-gauges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .score-gauge {
    max-width: 140px;
  }

  .score-gauge svg {
    width: 130px;
    height: 65px;
  }

  .gauge-num {
    font-size: 20px;
  }

  .score-gauge-label {
    font-size: 0.8rem;
  }

  /* Fund Info Grid: スマホは1カラムに */
  .fund-info-grid {
    grid-template-columns: 1fr;
  }

  .fund-info-cell {
    padding: 10px 14px;
  }

  .fund-info-label {
    font-size: 0.64rem;
  }

  .fund-info-value {
    font-size: 0.85rem;
  }

  /* Fund Summary Card */
  .fund-summary-card {
    padding: 16px;
  }

  /* Feature Grid（サービス評価記事内） */
  .feature-card {
    padding: 12px;
  }

  .feature-title {
    font-size: 0.82rem;
  }

  .feature-desc {
    font-size: 0.76rem;
  }

  /* Metrics Row */
  .metric-cell {
    padding: 10px 8px;
  }

  .metric-val {
    font-size: 1rem;
  }

  /* Stress Card */
  .stress-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  /* Operator Card */
  .operator-card {
    padding: 16px;
  }

  /* TOC サイドバー（モバイルでは下に回り込む） */
  .toc {
    padding: 16px;
  }

  .toc a {
    font-size: 0.76rem;
    padding: 5px 0 5px 12px;
  }

  /* CTA Box */
  .cta-box {
    padding: 20px;
  }

  .cta-box h4 {
    font-size: 0.85rem;
  }

  /* Disclaimer */
  .disclaimer-box {
    padding: 14px 16px;
    font-size: 0.76rem;
  }

  /* Share Row */
  .share-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* How it Works */
  .how-step {
    padding: 16px 10px;
  }

  .how-label {
    font-size: 0.72rem;
  }

  .how-desc {
    font-size: 0.64rem;
  }

  /* Fund Card のメトリクス */
  .fund-metric {
    padding: 10px 0;
  }

  .metric-value {
    font-size: 0.82rem;
  }

  .metric-label {
    font-size: 0.62rem;
  }

  /* Archive Cards */
  .archive-body {
    padding: 24px 16px 60px;
  }

  /* Service List Cards */
  .svc-card {
    padding: 16px;
  }

  /* 新セクションのモバイル対応 */
  .recruiting-grid,
  .svc-tile-grid,
  .explainer-grid {
    grid-template-columns: 1fr;
  }

  .recruiting-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero v3 モバイル */
  .hero-v3-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 56px;
  }

  .hero-v3-subheader {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 20px;
    font-size: 0.7rem;
  }

  .hero-v3-sub-status {
    margin-left: 0;
  }

  .hero-v3-h1 {
    font-size: 1.5rem;
    line-height: 1.45;
  }

  .hero-v3-desc {
    font-size: 0.88rem;
    padding-left: 12px;
  }

  .hero-v3-keypoints {
    flex-direction: column;
    gap: 10px;
  }

  .hero-v3-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-v3-cta-primary,
  .hero-v3-cta-secondary {
    text-align: center;
    width: 100%;
  }

  .hero-v3-dashboard {
    padding: 16px;
  }

  .hero-v3-dash-val {
    font-size: 1.3rem;
  }

  .hero-v3-corner {
    width: 36px;
    height: 36px;
  }

  .hero-v3-corner-tl {
    top: 40px;
    left: 12px;
  }

  .hero-v3-corner-br {
    bottom: 20px;
    right: 12px;
  }

  .hero-ticker {
    height: 32px;
    font-size: 0.72rem;
  }

  .hero-ticker-badge {
    font-size: 0.66rem;
    padding: 0 10px;
  }

  /* Article テーブル モバイル調整 */
  .article-content table {
    font-size: 0.82rem;
  }

  .article-content th,
  .article-content td {
    padding: 10px 12px;
  }

  .article-content th {
    font-size: 0.74rem;
  }

  .explainer-section {
    padding: 0 16px;
  }

  .explainer-inner {
    padding: 28px 20px;
  }

  .bottom-cta {
    padding: 32px 20px;
  }

  .bottom-cta-btns {
    flex-direction: column;
  }

  .nav {
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 17, 23, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav.open a {
    display: block;
    font-size: 1.1rem;
  }

  .nav a:not(.nav-x-btn) {
    display: none;
  }

  .nav.open a:not(.nav-x-btn) {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== Ghost Koenig Editor Required Classes ===== */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 24px);
  margin-right: calc(50% - 50vw + 24px);
  max-width: calc(100vw - 48px);
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

.kg-image {
  max-width: 100%;
}

.kg-image-card {
  margin: 0 0 1.5em;
}

.kg-image-card img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
}

.kg-gallery-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.kg-gallery-image {
  flex: 1;
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.kg-video-card {
  margin: 1.5em 0;
}

.kg-video-card video {
  width: 100%;
  border-radius: var(--radius-sm);
}

.kg-embed-card {
  margin: 1.5em 0;
}

.kg-bookmark-card {
  margin: 1.5em 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: var(--text-secondary);
}

.kg-bookmark-content {
  padding: 16px;
  flex: 1;
}

.kg-bookmark-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.kg-bookmark-description {
  font-size: 0.85em;
}

.kg-bookmark-thumbnail {
  width: 160px;
  flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-callout-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  margin: 1.5em 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
}

.kg-callout-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.kg-toggle-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin: 1.5em 0;
  overflow: hidden;
}

.kg-toggle-heading {
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.kg-toggle-content {
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.kg-product-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin: 1.5em 0;
  padding: 24px;
}

/* ===== Archive (tag.hbs) ===== */
.archive-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-soft);
  padding: 40px 24px 36px;
}

.archive-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.archive-breadcrumb {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-breadcrumb a {
  color: var(--cyan);
}

.archive-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.archive-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--cyan);
  display: block;
  flex-shrink: 0;
}

.archive-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 14px;
}

.archive-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.archive-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 4px 14px;
}

/* ===== Filter Bar ===== */
.filter-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 24px;
}

.filter-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group {
  position: relative;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.82rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  min-width: 180px;
  transition: border-color 0.2s;
}

.filter-btn:hover {
  border-color: var(--border);
  color: var(--text-primary);
}

.filter-arrow {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.filter-dropdown.open {
  display: block;
}

.filter-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s;
}

.filter-dropdown a:hover {
  background: var(--bg-card2);
  color: var(--text-primary);
}

.filter-dropdown .rating-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.filter-reset-btn {
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s;
}

.filter-reset-btn:hover {
  color: var(--cyan);
  border-color: var(--border);
}

@media (max-width: 600px) {
  .filter-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-btn {
    min-width: unset;
    width: 100%;
  }
  .filter-dropdown {
    min-width: unset;
    width: 100%;
  }
}

.archive-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.archive-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.archive-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archive-card-platform {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.archive-card-date {
  font-size: 0.72rem;
  color: var(--card-text-sub);
}

.archive-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--card-text);
  line-height: 1.6;
}

.archive-card-summary {
  font-size: 0.8rem;
  color: var(--card-text-sub);
  line-height: 1.7;
  flex: 1;
}

.archive-card-footer {
  border-top: 1px solid var(--card-border);
  padding-top: 10px;
}

.archive-card-readmore {
  font-size: 0.76rem;
  color: var(--cyan);
  font-weight: 500;
}

.archive-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.pagination-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.pagination-btn:hover {
  border-color: var(--border);
  color: var(--cyan);
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Services (services.hbs) ===== */
.services-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-soft);
  padding: 40px 24px 36px;
}

.services-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--cyan);
  display: block;
  flex-shrink: 0;
}

.services-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

.services-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.service-card--coming {
  opacity: 0.75;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-logo-wrap {
  flex-shrink: 0;
}

.service-logo-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan);
  font-family: 'DM Sans', sans-serif;
}

.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.service-operator {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.service-status {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.status-active {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-coming {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
}

.service-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.service-meta-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 36px;
}

.service-meta-value {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-meta-link {
  font-size: 0.8rem;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.service-meta-link:hover {
  opacity: 0.7;
}

.service-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 500;
}

.service-articles-btn {
  display: block;
  text-align: center;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  margin-top: auto;
}

.service-articles-btn:hover {
  background: rgba(0, 200, 255, 0.2);
  box-shadow: var(--cyan-glow);
}

.service-articles-btn--disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-soft);
  color: var(--text-muted);
  cursor: not-allowed;
}

.service-articles-btn--disabled:hover {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.services-disclaimer {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Responsive additions ===== */
@media (max-width: 1024px) {

  .archive-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .archive-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .archive-title,
  .services-title {
    font-size: 1.3rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Fund Analysis Cards ===== */
.fund-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px
}

.fund-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.fund-tag {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600
}

.fund-tag--green {
  background: #e8f5ee;
  color: #1a6b45;
  border: 1px solid #c5e4d2;
}

.fund-tag--yellow {
  background: #fef3e2;
  color: #8a5a1a;
  border: 1px solid #f0d8a8;
}

.fund-tag--default {
  background: #f0eeea;
  color: #6b6860;
  border: 1px solid #dddad4;
}

.fund-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px
}

.fund-info-cell {
  background: var(--bg-card2);
  padding: 12px 16px
}

.fund-info-label {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px
}

.fund-info-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--card-text)
}

.fund-info-value--accent {
  color: var(--cyan)
}

/* ===== Score Gauges (semicircle — shared) ===== */
.score-gauges {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  justify-content: center
}

.score-gauge {
  flex: 1;
  text-align: center;
  max-width: 200px;
  margin: 0 auto
}

.score-gauge svg {
  width: 180px;
  height: 90px;
  margin-bottom: 10px
}

.gauge-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1) !important;
  stroke-width: 8;
  stroke-linecap: round;
}

.gauge-value {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round
}

.gauge-num {
  font-size: 28px;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  fill: var(--text-primary) !important;
}

.score-gauge-label {
  font-size: 0.92rem;
  color: var(--text-secondary) !important;
  font-weight: 600;
}

/* ===== Service Evaluation Cards ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.feature-icon {
  font-size: 0.72rem;
  color: #2d5a8a !important;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em
}

.feature-icon.note {
  color: #8a5a1a !important;
}

.feature-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--card-text) !important;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--card-text-sub) !important;
  line-height: 1.7;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px
}

.metric-cell {
  background: var(--bg-card2) !important;
  padding: 16px;
  text-align: center;
}

.metric-label {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  color: var(--card-text) !important;
  font-variant-numeric: tabular-nums;
}

.metric-val.accent {
  color: #2d5a8a !important;
}

.stress-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.stress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.operator-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

/* ===== Service List Cards (v2) ===== */
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s
}

.svc-card:hover {
  border-color: rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.svc-header {
  display: flex;
  align-items: center;
  gap: 12px
}

.svc-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e6f4fb;
  border: 1px solid #c4ddef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #2d5a8a;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0
}

.svc-info {
  flex: 1;
  min-width: 0
}

.svc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--card-text)
}

.svc-operator {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  margin-top: 1px
}

.svc-badge {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
  border: 1px solid
}

.badge-aa {
  background: var(--green-bg);
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.3)
}

.badge-a {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.3)
}

.badge-b {
  background: rgba(250, 204, 21, 0.08);
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.15)
}

.badge-c {
  background: var(--yellow-bg);
  color: var(--yellow);
  border-color: rgba(245, 158, 11, 0.15)
}

.badge-d {
  background: var(--red-bg);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.3)
}

.badge-none {
  background: rgba(148, 163, 184, 0.05);
  color: var(--text-muted);
  border-color: var(--border-soft);
  font-size: 0.7rem;
  font-weight: 600
}

.svc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden
}

.svc-m {
  background: var(--bg-card);
  padding: 8px 0;
  text-align: center
}

.svc-m-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--card-text);
  font-family: 'DM Sans', sans-serif;
  font-variant-numeric: tabular-nums
}

.svc-m-val.accent {
  color: var(--cyan)
}

.svc-m-label {
  font-size: 0.7rem;
  color: var(--card-text-sub);
  margin-top: 2px;
  letter-spacing: 0.03em
}

.svc-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

.svc-tag {
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600
}

.svc-tag.g {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.2)
}

.svc-tag.y {
  background: var(--yellow-bg);
  color: var(--yellow);
  border: 1px solid rgba(245, 158, 11, 0.2)
}

.svc-tag.d {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--border-soft)
}

.svc-btn {
  display: block;
  text-align: center;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 8px 0;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.2s;
  text-decoration: none
}

.svc-btn:hover {
  background: rgba(0, 200, 255, 0.2)
}

.svc-btn--disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-soft);
  color: var(--text-muted);
  cursor: default
}

.svc-btn--disabled:hover {
  background: rgba(255, 255, 255, 0.03)
}

/* 本文内のH1を全て非表示 — ページタイトルはテンプレート側で表示済み */
.article-content h1 {
  display: none;
}

.fund-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 28px;
  overflow: hidden;
}

.fund-summary-card p {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 2.0;
  padding: 12px 24px 20px;
  color: var(--card-text);
  margin-bottom: 0;
}

.fund-summary-card .fund-tags {
  padding: 0 24px 16px;
}

/* サービスレビュー記事ではp:first-of-typeのハイライトを無効化
   （冒頭はHTMLカードであり、Markdown本文の先頭段落にハイライトは不適切） */
.service-review-content>p:first-of-type {
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  background: none;
  border-left: none;
  border-radius: 0;
}
@media (max-width: 900px) {
  .hero-v3-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-v3-subheader {
    flex-wrap: wrap;
  }

  .recruiting-grid,
  .svc-tile-grid,
  .explainer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ===== Fund Summary Card（Python側ハードコードからCSS化） ===== */
.fund-summary-text {
  font-weight: 500;
  line-height: 2.0;
  color: var(--card-text);
  margin-bottom: 16px;
}

/* ===== Financial Card ===== */
.financial-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.financial-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--card-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.financial-card-bar {
  width: 3px;
  height: 16px;
  background: #2d5a8a;
  border-radius: 2px;
  display: inline-block;
}

.financial-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.financial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  color: var(--card-text);
}

.financial-table thead {
  background: var(--bg-card2);
}

.financial-table th,
.financial-table td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid var(--card-border);
  color: var(--card-text);
}

.financial-table th {
  color: var(--card-text-sub);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.financial-table td:first-child {
  text-align: left;
}

/* CF cards */
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.cf-card {
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.cf-label {
  font-size: 0.68rem;
  color: var(--card-text-sub);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cf-val {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--card-text);
  margin-top: 4px;
}

/* Analysis block */
.analysis-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}

.analysis-item {
  margin-bottom: 8px;
}

.analysis-item:last-child {
  margin-bottom: 0;
}

.analysis-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.analysis-label--growth {
  color: #185fa5;  /* blue 600 — ライトカード上でも見える */
}

.analysis-label--safety {
  color: #0f6e56;  /* teal 800 */
}

.analysis-label--quality {
  color: #854f0b;  /* amber 800 */
}

.analysis-body {
  font-size: 0.82rem;
  color: var(--card-text-sub);
  line-height: 1.7;
  margin: 4px 0 0;
}

/* ===== Composition Card ===== */
.composition-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.composition-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--card-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.composition-card-bar {
  width: 3px;
  height: 16px;
  background: #2d5a8a;
  border-radius: 2px;
  display: inline-block;
}

.composition-grid {
  display: grid;
  gap: 24px;
}

.composition-grid--2col {
  grid-template-columns: 1fr 1fr;
}

.composition-grid--1col {
  grid-template-columns: 1fr;
}

.dist-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--card-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.dist-row {
  margin-bottom: 6px;
}

.dist-row-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.dist-key {
  font-size: 0.82rem;
  color: var(--card-text);
  font-weight: 500;
}

.dist-val {
  font-size: 0.78rem;
  color: var(--card-text-sub);
  font-variant-numeric: tabular-nums;
}

.dist-bar-track {
  width: 100%;
  height: 6px;
  background: #e4e2de;
  border-radius: 3px;
  overflow: hidden;
}

.dist-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .composition-grid--2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cf-grid {
    grid-template-columns: 1fr;
  }

  .financial-table th,
  .financial-table td {
    padding: 6px 8px;
    font-size: 0.76rem;
  }
}

/* === ブログ記事専用スタイル（月次レポート等） === */
.blog-post-hero {
    background: linear-gradient(135deg, #1a2a4a 0%, #2c4170 100%);
}

.blog-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.blog-post-content h2 {
    border-left: 4px solid #4a7ab8;
    padding-left: 16px;
    margin-top: 2em;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.blog-post-content th,
.blog-post-content td {
    border: 1px solid #e0e0e0;
    padding: 10px 14px;
    text-align: left;
}

.blog-post-content th {
    background: #f5f7fa;
    font-weight: 600;
}

.blog-post-content tr:nth-child(even) td {
    background: #fafbfc;
}


/* === 対象範囲の注記ボックス === */
.scope-note-box {
    background: rgba(74, 122, 184, 0.08);
    border: 1px solid rgba(74, 122, 184, 0.25);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #c0c8d4;
}

.scope-note-box strong {
    color: #e0e6ec;
}
