/* ============================================================
   Manabox Veteran — Tax Health Check LP
   Design Reference: KTACS-inspired professional trust UI
   Color System:
     Primary Navy   : #0b3d7a
     Primary Blue   : #1f63b8
     Accent Gold    : #f5b400
     Light BG       : #f4f7fc
     Dark BG (Navy) : #0b3d7a
     Text Dark      : #1a1a2e
     Text Mid       : #4a5568
     Text Light     : #718096
     White          : #ffffff
   ============================================================ */

/* ---- Reset & Base ---- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1f63b8; text-decoration: none; transition: color .2s; }
a:hover { color: #0b3d7a; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Containers ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section-gap { padding: 80px 0; }
.bg-light { background: #f4f7fc; }
.bg-navy { background: #0b3d7a; }
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-light { color: #cfe0f5 !important; }

/* ---- Section Headers ---- */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1f63b8;
  background: #e8f0fd;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-label-light {
  color: #cfe0f5;
  background: rgba(255,255,255,.15);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0b3d7a;
  line-height: 1.35;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: #4a5568;
  max-width: 640px;
  margin: 0 auto;
}
.section-header { margin-bottom: 48px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(11,61,122,.07);
  transition: box-shadow .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.header-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: #1a1a2e;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.nav-list li a:hover { background: #f4f7fc; color: #1f63b8; }
.nav-list li a.nav-cta {
  background: #1f63b8;
  color: #ffffff;
  font-weight: 700;
  padding: 9px 18px;
}
.nav-list li a.nav-cta:hover { background: #0b3d7a; }
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Language Switcher */
.lang-switcher, .mobile-lang, .footer-lang {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 10px;
  border-radius: 4px;
  color: #4a5568;
  border: 1.5px solid #e2e8f0;
  transition: all .2s;
}
.lang-btn:hover, .lang-btn.active {
  background: #1f63b8;
  color: #ffffff;
  border-color: #1f63b8;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px 24px;
}
.mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: .95rem;
  font-weight: 500;
  color: #1a1a2e;
}
.mobile-nav ul li a.nav-cta {
  margin-top: 12px;
  display: block;
  text-align: center;
  background: #1f63b8;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  border: none;
}
.mobile-lang { margin-top: 16px; justify-content: flex-start; gap: 8px; }
.mobile-nav.open { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all .25s;
  line-height: 1.4;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: #1f63b8; color: #fff; border-color: #1f63b8; }
.btn-primary:hover { background: #0b3d7a; border-color: #0b3d7a; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,99,184,.3); }
.btn-accent { background: #f5b400; color: #0b3d7a; border-color: #f5b400; }
.btn-accent:hover { background: #e0a300; border-color: #e0a300; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,180,0,.35); }
.btn-outline-primary { background: transparent; color: #1f63b8; border-color: #1f63b8; }
.btn-outline-primary:hover { background: #1f63b8; color: #fff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.btn-text { padding: 8px 0; font-size: .88rem; color: #1f63b8; font-weight: 600; background: none; border: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-text:hover { color: #0b3d7a; }
.btn-text .fa-chevron-down { transition: transform .3s; font-size: .75rem; }
.btn-text.open .fa-chevron-down { transform: rotate(180deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, #0b3d7a 0%, #1f63b8 50%, #2a7dd4 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 40%, rgba(245,180,0,.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,61,122,.25) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px 80px;
  max-width: 860px;
}
/* Hero logo */
.hero-logo-wrap { margin-bottom: 28px; }
.hero-logo {
  height: 56px;
  width: auto;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

.hero-badge {
  display: inline-block;
  background: rgba(245,180,0,.2);
  border: 1.5px solid rgba(245,180,0,.6);
  color: #f5b400;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.hero-headline em {
  font-style: normal;
  color: #f5b400;
  position: relative;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: #cfe0f5;
  margin-bottom: 20px;
  line-height: 1.7;
}
.hero-sub strong { color: #ffffff; font-weight: 700; }
.hero-lead {
  font-size: .97rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 700px;
  padding-left: 16px;
  border-left: 3px solid rgba(245,180,0,.6);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 20px 28px;
  backdrop-filter: blur(10px);
  gap: 0;
}
.trust-item { text-align: center; flex: 1; min-width: 140px; padding: 0 16px; }
.trust-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #f5b400;
  line-height: 1.2;
}
.trust-num small { font-size: .75rem; font-weight: 600; color: #cfe0f5; margin-left: 2px; }
.trust-label { display: block; font-size: .8rem; color: rgba(255,255,255,.8); margin-top: 4px; }
.trust-divider { width: 1px; height: 48px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-dot {
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: scrollBounce 1.6s infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0);opacity:.5} 50%{transform:translateY(10px);opacity:1} }

/* ============================================================
   SYMPATHY
   ============================================================ */
.sympathy-scene {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.sympathy-intro {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 24px;
  line-height: 1.85;
}
.sympathy-quote {
  background: #f4f7fc;
  border-left: 4px solid #1f63b8;
  border-radius: 0 8px 8px 0;
  padding: 20px 28px;
  margin: 0 0 24px;
  text-align: left;
}
.sympathy-quote p {
  font-size: 1rem;
  font-weight: 600;
  color: #0b3d7a;
  line-height: 1.7;
  margin-bottom: 8px;
}
.sympathy-quote p:last-child { margin-bottom: 0; }
.sympathy-body {
  font-size: .97rem;
  color: #4a5568;
  line-height: 1.85;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow .25s, transform .25s;
}
.pain-card:hover { box-shadow: 0 6px 24px rgba(11,61,122,.1); transform: translateY(-3px); }
.pain-icon {
  width: 40px;
  height: 40px;
  background: #e8f0fd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1f63b8;
  font-size: 1.1rem;
}
.pain-card p { font-size: .93rem; color: #2d3748; line-height: 1.65; font-weight: 500; }
.sympathy-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff9e6;
  border: 1px solid rgba(245,180,0,.4);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.sympathy-note .fa-lightbulb { color: #f5b400; font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.sympathy-note p { font-size: .93rem; color: #4a5568; line-height: 1.75; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e2e8f0;
  transition: box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f63b8, #2a7dd4);
  opacity: 0;
  transition: opacity .3s;
}
.benefit-card:hover { box-shadow: 0 10px 40px rgba(11,61,122,.12); transform: translateY(-4px); }
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e8f0fd, #d0e4fa);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #1f63b8;
  margin-bottom: 20px;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: #0b3d7a; margin-bottom: 10px; }
.benefit-card p { font-size: .9rem; color: #4a5568; line-height: 1.75; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-blocks { display: flex; flex-direction: column; gap: 72px; }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}
.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }
.feature-block-num {
  position: absolute;
  top: -24px;
  left: -16px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(31,99,184,.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.feature-block-reverse .feature-block-num { left: auto; right: -16px; }
.feature-block-content h3 { font-size: 1.3rem; font-weight: 800; color: #0b3d7a; margin-bottom: 14px; }
.feature-block-content p { font-size: .95rem; color: #4a5568; line-height: 1.8; margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .9rem;
  color: #2d3748;
  line-height: 1.5;
}
.feature-list li .fa-check { color: #1f63b8; font-size: .8rem; flex-shrink: 0; }

/* Sample Cards */
.sample-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11,61,122,.08);
}
.sample-card-header {
  background: linear-gradient(135deg, #0b3d7a, #1f63b8);
  color: #fff;
  padding: 14px 20px;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sample-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.sample-table th {
  background: #f4f7fc;
  color: #0b3d7a;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}
.sample-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0f4f8;
  color: #2d3748;
}
.sample-table tr:last-child td { border-bottom: none; }
.sample-table tr:hover td { background: #f8faff; }
.sample-note {
  padding: 10px 16px;
  font-size: .76rem;
  color: #718096;
  background: #f8faff;
  border-top: 1px solid #e2e8f0;
}

/* Risk / Priority Badges */
.risk-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; }
.risk-high { background: #fde8e8; color: #c53030; }
.risk-mid  { background: #fef3c7; color: #92400e; }
.risk-low  { background: #d1fae5; color: #065f46; }
.amount-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; background: #fde8e8; color: #c53030; }
.amount-badge.amount-mid { background: #fef3c7; color: #92400e; }
.priority-badge { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: .78rem; font-weight: 800; }
.p-high { background: #0b3d7a; color: #fff; }
.p-mid  { background: #1f63b8; color: #fff; }
.claim-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 600; }
.claim-no    { background: #fde8e8; color: #c53030; }
.claim-maybe { background: #fef3c7; color: #92400e; }
.claim-yes   { background: #d1fae5; color: #065f46; }

/* Matrix */
.matrix-wrap { padding: 16px; }
.matrix-grid { display: grid; grid-template-columns: 20px 1fr; grid-template-rows: 1fr 20px; gap: 4px; }
.matrix-y-label { grid-row: 1; grid-column: 1; display: flex; align-items: center; justify-content: center; }
.matrix-y-label span { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); font-size: .7rem; color: #718096; }
.matrix-body { grid-row: 1; grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.matrix-quadrant { background: #f8faff; border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 10px; }
.mq-tl { background: #fde8e8; border-color: #fc8181; }
.mq-tr { background: #fef3c7; border-color: #f6ad55; }
.mq-bl { background: #ebf8ff; border-color: #63b3ed; }
.mq-br { background: #f0fff4; border-color: #68d391; }
.mq-label { display: block; font-size: .72rem; font-weight: 700; color: #0b3d7a; margin-bottom: 6px; }
.matrix-quadrant ul li { font-size: .72rem; color: #4a5568; padding-left: 10px; position: relative; }
.matrix-quadrant ul li::before { content: '·'; position: absolute; left: 0; color: #718096; }
.matrix-x-label { grid-row: 2; grid-column: 2; text-align: center; }
.matrix-x-label span { font-size: .7rem; color: #718096; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */

/* --- 旧カルーセル（非表示化・念のため残置） --- */
.testi-carousel-wrap { display: none; }

/* --- 新グリッドレイアウト --- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- カード本体 --- */
.testi-card-v2 {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11,61,122,.08);
  border: 1px solid #e8eef6;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.testi-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11,61,122,.14);
}

/* --- カードヘッダー（業種サムネ風） --- */
.testi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
  overflow: hidden;
}
.testi-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
/* 業種別カラー */
.testi-header--manufacturing { background: linear-gradient(135deg, #1a56a0 0%, #2563eb 100%); }
.testi-header--trading        { background: linear-gradient(135deg, #047857 0%, #10b981 100%); }
.testi-header--service        { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }
.testi-header--it             { background: linear-gradient(135deg, #6d28d9 0%, #a78bfa 100%); }

/* 実写真ヘッダー */
.testi-card-header--photo {
  padding: 0;
  height: 180px;
  position: relative;
  overflow: hidden;
  display: block;
}
.testi-card-header--photo .testi-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform .4s ease;
}
.testi-card-v2:hover .testi-card-header--photo .testi-photo-img {
  transform: scale(1.04);
}
.testi-card-header--photo .testi-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,41,90,.08) 0%, rgba(11,41,90,.55) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 14px;
}
.testi-card-header--photo .testi-industry-label {
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.testi-card-header--photo .testi-stars {
  font-size: .82rem;
  color: #fde68a;
  letter-spacing: .06em;
}
/* 実写真カードのアバター：ロゴ画像 */
.testi-avatar--logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.testi-avatar--logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 実写真カードのアバター：会社ロゴ風（テキスト版） */
.testi-avatar--company {
  background: linear-gradient(135deg, #0b3d7a, #1f63b8);
  font-size: .65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-align: center;
  line-height: 1.2;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.testi-industry-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.testi-industry-label {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .06em;
  text-transform: uppercase;
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.testi-stars {
  font-size: .82rem;
  color: #fde68a;
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
}

/* --- カードボディ --- */
.testi-card-body {
  padding: 20px 20px 22px;
  display: flex;
  gap: 14px;
  flex: 1;
}

/* --- アバター（イニシャル） --- */
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}
.testi-avatar--blue   { background: linear-gradient(135deg, #1a56a0, #3b82f6); }
.testi-avatar--green  { background: linear-gradient(135deg, #047857, #10b981); }
.testi-avatar--orange { background: linear-gradient(135deg, #b45309, #f59e0b); }
.testi-avatar--purple { background: linear-gradient(135deg, #6d28d9, #a78bfa); }

/* --- 引用テキスト・メタ --- */
.testi-card-content { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.testi-quote {
  font-size: .9rem;
  color: #2d3748;
  line-height: 1.85;
  font-style: italic;
  margin: 0;
  flex: 1;
  position: relative;
  padding-left: 18px;
}
.testi-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2rem;
  color: #1f63b8;
  opacity: .25;
  font-style: normal;
  line-height: 1;
}
.testi-meta {
  border-top: 1px solid #f0f4f8;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testi-name-row { display: flex; align-items: center; gap: 8px; }
.testi-role {
  font-size: .82rem;
  font-weight: 700;
  color: #0b3d7a;
}
.testi-location {
  font-size: .75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}
.testi-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: #1f63b8;
  background: #eef4ff;
  border: 1px solid #c7daf9;
  border-radius: 99px;
  padding: 3px 10px;
  width: fit-content;
}
.testi-link-wrap { margin-top: 8px; }

/* レスポンシブ */
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .testi-card-body { flex-direction: column; gap: 10px; }
  .testi-avatar { width: 36px; height: 36px; font-size: .85rem; border-radius: 10px; }
}

/* ============================================================
   EXPERTS
   ============================================================ */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.expert-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.expert-card:hover { box-shadow: 0 10px 40px rgba(11,61,122,.12); transform: translateY(-4px); }
.expert-lead { border: 2px solid #1f63b8; }
.expert-photo-wrap {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0fd, #cce0f5);
  position: relative;
}
.expert-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.expert-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #1f63b8;
  opacity: .4;
}
.expert-info { padding: 20px; }
.expert-name-wrap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.expert-name { font-size: 1rem; font-weight: 700; color: #0b3d7a; }
.expert-flag { font-size: 1.2rem; }
.expert-title { font-size: .78rem; color: #718096; margin-bottom: 12px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.etag {
  font-size: .72rem;
  font-weight: 600;
  background: #e8f0fd;
  color: #1f63b8;
  padding: 3px 10px;
  border-radius: 20px;
}
.expert-bio { font-size: .85rem; color: #4a5568; line-height: 1.7; margin-bottom: 14px; }
.expert-detail {
  background: #f4f7fc;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 12px;
}
.expert-detail p { font-size: .83rem; color: #4a5568; line-height: 1.7; }
.expert-trust-bar {
  background: linear-gradient(135deg, #0b3d7a, #1f63b8);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
}
.trust-copy { font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.7; }

/* ============================================================
   CHECKLIST SECTION
   ============================================================ */
.checklist-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.compare-card {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 32px 28px;
  backdrop-filter: blur(10px);
}
.compare-full {
  background: rgba(255,255,255,.18);
  border-color: rgba(245,180,0,.6);
  position: relative;
}
.compare-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #cfe0f5;
  background: rgba(255,255,255,.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.compare-badge-accent { color: #0b3d7a; background: #f5b400; }
.compare-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.compare-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.compare-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: #cfe0f5; line-height: 1.5; }
.compare-list li .fa-check { color: #f5b400; flex-shrink: 0; margin-top: 2px; }
.compare-list li .fa-xmark { color: rgba(255,255,255,.3); flex-shrink: 0; margin-top: 2px; }
.compare-list li.compare-no { opacity: .5; }
.compare-list li.compare-no span { text-decoration: line-through; }

/* ============================================================
   PROCESS / FLOW
   ============================================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.process-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: #e8f0fd;
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1f63b8, #2a7dd4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 auto 14px;
}
.process-step h3 { font-size: .93rem; font-weight: 700; color: #0b3d7a; margin-bottom: 8px; }
.process-step p { font-size: .82rem; color: #4a5568; line-height: 1.65; }
.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: #cbd5e0;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: #1f63b8; box-shadow: 0 4px 16px rgba(31,99,184,.12); }
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .95rem;
  font-weight: 700;
  color: #0b3d7a;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #f8faff; }
.faq-icon { color: #1f63b8; font-size: .8rem; flex-shrink: 0; transition: transform .3s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; }
.faq-a p { font-size: .9rem; color: #4a5568; line-height: 1.8; }

/* ============================================================
   LEAD MAGNET (Free Checklist)
   ============================================================ */
.lead-magnet {
  background: linear-gradient(135deg, #0b3d7a 0%, #1f63b8 60%, #1a56a0 100%);
  position: relative;
  overflow: hidden;
}
.lead-magnet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50v-10h-4v10H36v4h10v10h4V54h10v-4H50zM50 10V0h-4v10H36v4h10v10h4V14h10v-4H50zM10 50v-10H6v10H-4v4h10v10h4V54h10v-4H10zM10 10V0H6v10H-4v4h10v10h4V14h10v-4H10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.lm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 16px 0;
}

/* Left copy */
.lm-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fde68a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.lm-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.lm-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 24px;
}
.lm-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lm-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
}
.lm-benefits .fa-check-circle {
  color: #4ade80;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Right form card */
.lm-form-wrap { display: flex; flex-direction: column; gap: 14px; }
.lm-form-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.22);
}
.lm-form-header {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: #1a1a1a;
}
.lm-form-header .fa-gift { font-size: 1.1rem; }
.lm-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lm-form-group { display: flex; flex-direction: column; gap: 5px; }
.lm-form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: #374151;
}
.lm-form-group input {
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .9rem;
  transition: border-color .2s;
  outline: none;
  font-family: inherit;
}
.lm-form-group input:focus { border-color: #1f63b8; box-shadow: 0 0 0 3px rgba(31,99,184,.1); }
.lm-privacy-note {
  font-size: .73rem;
  color: #9ca3af;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.lm-success-box {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}
.lm-success-box > div { display: flex; flex-direction: column; gap: 10px; }
.lm-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  padding: 10px 20px;
}

/* Badges */
.lm-badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .73rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

/* form-group--full spans both cols */
.form-group--full { grid-column: 1 / -1; }

/* Responsive */
@media (max-width: 860px) {
  .lm-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .lm-form { padding: 18px; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}
.contact-info { position: sticky; top: 88px; }
.contact-logo { height: 48px; width: auto; margin-bottom: 16px; background: #ffffff; padding: 8px 16px; border-radius: 10px; }
.contact-info h3 { font-size: 1.2rem; font-weight: 800; color: #0b3d7a; margin-bottom: 12px; }
.contact-info p { font-size: .9rem; color: #4a5568; line-height: 1.75; margin-bottom: 20px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 10px; }
.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: #4a5568;
}
.contact-detail-list li .fa-solid { color: #1f63b8; flex-shrink: 0; margin-top: 2px; }
.contact-detail-list li a { color: #1f63b8; word-break: break-all; }
.contact-detail-list li a:hover { color: #0b3d7a; }

/* Form */
.contact-form { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 36px 32px; box-shadow: 0 4px 24px rgba(11,61,122,.07); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: #2d3748; margin-bottom: 6px; }
.required { color: #e53e3e; font-weight: 700; }
.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: .93rem;
  font-family: inherit;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  color: #1a1a2e;
  background: #fafbff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1f63b8;
  box-shadow: 0 0 0 3px rgba(31,99,184,.15);
  background: #fff;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; color: #4a5568; position: relative; z-index: 1; }
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  appearance: auto; -webkit-appearance: auto;
  cursor: pointer; pointer-events: auto;
  position: relative; z-index: 1;
  accent-color: #1f63b8;
}
.form-message { padding: 14px 18px; border-radius: 8px; font-size: .9rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.form-error { background: #fff5f5; border: 1px solid #fc8181; color: #c53030; }
.form-success { background: #f0fff4; border: 1px solid #68d391; color: #276749; }
.form-success .fa-circle-check { font-size: 1.2rem; }

/* ============================================================
   CLOSING
   ============================================================ */
.closing-content { text-align: center; padding: 20px 0; }
.closing-label { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,180,0,.8); margin-bottom: 16px; display: block; }
.closing-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 36px; line-height: 1.4; }
.closing-body { text-align: left; max-width: 660px; margin: 0 auto 40px; }
.closing-body p { font-size: .97rem; color: rgba(255,255,255,.8); line-height: 1.85; margin-bottom: 20px; }
.closing-body p:last-child { margin-bottom: 0; }
.closing-highlight { font-size: 1.05rem !important; color: #f5b400 !important; font-weight: 700; padding: 16px 20px; background: rgba(245,180,0,.1); border-left: 3px solid #f5b400; border-radius: 0 8px 8px 0; }
.closing-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.closing-logo-wrap { display: flex; justify-content: center; opacity: .95; }
.closing-logo {
  height: 48px;
  width: auto;
  margin: 0 auto;
  display: block;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0a2d5e; color: #cfe0f5; padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-nav-col h4 { font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col ul li a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-nav-col ul li a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-lang .lang-btn { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.footer-lang .lang-btn:hover, .footer-lang .lang-btn.active { background: #1f63b8; color: #fff; border-color: #1f63b8; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: #1f63b8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(31,99,184,.35);
  transition: all .3s;
  opacity: 0;
  transform: translateY(12px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #0b3d7a; transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block-reverse { direction: ltr; }
  .feature-block-num { display: none; }
  .checklist-compare { grid-template-columns: 1fr; max-width: 500px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { position: static; margin-bottom: 8px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-gap { padding: 56px 0; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .testi-card { min-width: calc(80vw - 24px); }
  .benefit-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .hero-trust-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-divider { display: none; }
  .process-steps { flex-direction: column; align-items: center; overflow-x: unset; }
  .step-arrow { display: none; }
  .process-step { min-width: 100%; max-width: 400px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .closing-ctas { flex-direction: column; align-items: center; }
  .closing-ctas .btn { width: 100%; max-width: 360px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.75rem; }
  .section-title { font-size: 1.3rem; }
  .pain-cards { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SAMPLE REPORT BANNER (inside features section)
   ============================================================ */
.sample-report-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, #0b3d7a 0%, #1f63b8 100%);
  border-radius: 20px;
  padding: 2px;
  box-shadow: 0 8px 32px rgba(11,61,122,.25);
}
.srb-inner {
  background: linear-gradient(135deg, #0b3d7a 0%, #1a3a6b 100%);
  border-radius: 18px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.srb-text { flex: 1; }
.srb-eyebrow {
  display: inline-block;
  background: rgba(245,180,0,.2);
  border: 1px solid rgba(245,180,0,.5);
  color: #f5b400;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.srb-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.srb-text p {
  color: rgba(255,255,255,.75);
  font-size: .93rem;
  line-height: 1.7;
  max-width: 520px;
}
.srb-btn {
  flex-shrink: 0;
  font-size: 1rem;
  padding: 14px 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   REPORT MODAL OVERLAY
   ============================================================ */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,15,35,.75);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.report-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.report-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform .35s ease;
  position: relative;
  margin: auto;
}
.report-modal-overlay.open .report-modal {
  transform: translateY(0);
}
.report-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.07);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  transition: background .2s;
  z-index: 10;
}
.report-modal-close:hover { background: rgba(0,0,0,.15); color: #111; }

/* Modal Header */
.report-modal-head {
  background: linear-gradient(135deg, #0b3d7a 0%, #1f63b8 100%);
  padding: 28px 40px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.rmh-logo-wrap {
  flex-shrink: 0;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}
.rmh-logo { height: 36px; width: auto; display: block; }
.rmh-title-wrap { flex: 1; }
.rmh-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.rmh-title-wrap h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.rmh-subtitle {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* Tab Nav */
.report-tab-nav {
  display: flex;
  border-bottom: 2px solid #e8edf5;
  background: #f8fafd;
  overflow-x: auto;
  scrollbar-width: none;
}
.report-tab-nav::-webkit-scrollbar { display: none; }
.rtab {
  flex-shrink: 0;
  padding: 14px 20px;
  font-size: .85rem;
  font-weight: 600;
  color: #6b7a95;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.rtab:hover { color: #1f63b8; }
.rtab.active { color: #1f63b8; border-bottom-color: #1f63b8; }

/* Tab Content */
.report-tab-content { display: none; }
.report-tab-content.active { display: block; }

.report-section {
  padding: 32px 40px;
  max-height: 68vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c0ccdf #f0f4fa;
}
.report-section::-webkit-scrollbar { width: 6px; }
.report-section::-webkit-scrollbar-track { background: #f0f4fa; }
.report-section::-webkit-scrollbar-thumb { background: #c0ccdf; border-radius: 3px; }

/* ---- Summary Tab ---- */
.exec-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.exec-kpi {
  background: #f8fafd;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  border: 2px solid transparent;
}
.exec-kpi-aa { border-color: #e84040; background: #fff5f5; }
.exec-kpi-a  { border-color: #f5832a; background: #fff8f2; }
.exec-kpi-b  { border-color: #f5b400; background: #fffbf0; }
.exec-kpi-total { border-color: #1f63b8; background: #f0f6ff; }
.kpi-rank {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.exec-kpi-aa .kpi-rank { color: #c0392b; }
.exec-kpi-a  .kpi-rank { color: #e06d1a; }
.exec-kpi-b  .kpi-rank { color: #c89000; }
.exec-kpi-total .kpi-rank { color: #1f63b8; font-size: 1.3rem; }
.kpi-count { font-size: 1.4rem; font-weight: 800; color: #1a1a2e; margin-bottom: 4px; }
.kpi-label { font-size: .72rem; color: #6b7a95; font-weight: 500; }

.rank-legend { margin-bottom: 28px; }
.rank-legend h4 { font-size: .88rem; font-weight: 700; color: #1a1a2e; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.rank-legend-grid { display: flex; flex-direction: column; gap: 10px; }
.rl-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 16px; background: #f8fafd; border-radius: 10px; }
.rl-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 900;
  color: #fff;
}
.rl-aa { background: #c0392b; }
.rl-a  { background: #e06d1a; }
.rl-b  { background: #c89000; }
.rl-item strong { font-size: .88rem; color: #1a1a2e; display: block; margin-bottom: 2px; }
.rl-item p { font-size: .8rem; color: #6b7a95; line-height: 1.5; margin: 0; }

.exec-summary-box {
  background: #f0f6ff;
  border-left: 4px solid #1f63b8;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
}
.exec-summary-box h4 { font-size: .88rem; font-weight: 700; color: #1f63b8; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.exec-summary-box p { font-size: .88rem; color: #2a3a55; line-height: 1.8; }

/* ---- Risk List Tab ---- */
.report-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rf-label { font-size: .82rem; color: #6b7a95; font-weight: 600; }
.rf-btn {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #d0d9e8;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  color: #6b7a95;
  cursor: pointer;
  transition: all .2s;
}
.rf-btn:hover, .rf-btn.active { background: #1f63b8; border-color: #1f63b8; color: #fff; }
.report-risk-table-wrap { overflow-x: auto; }
.report-risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  min-width: 640px;
}
.report-risk-table th {
  background: #1a3a6b;
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}
.report-risk-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8edf5;
  color: #2a3a55;
  vertical-align: top;
}
.report-risk-table tr:hover td { background: #f5f8ff; }
.report-risk-table tr[data-hidden="true"] { display: none; }
.rrt-rank-aa { background: #fff5f5; }
.rrt-rank-a  { background: #fff8f2; }
.rrt-rank-b  { background: #fffbf0; }

.rrt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 900;
  color: #fff;
}
.rrt-aa { background: #c0392b; }
.rrt-a  { background: #e06d1a; }
.rrt-b  { background: #c89000; }

.rrt-amount-lg { color: #c0392b; font-weight: 700; }
.rrt-amount-md { color: #e06d1a; font-weight: 700; }
.rrt-amount-sm { color: #6b7a95; font-weight: 600; }

/* ---- Detail Tab ---- */
.detail-card {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1.5px solid #e8edf5;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.detail-aa { border-color: #f5b0b0; }
.detail-a  { border-color: #fbd0a8; }
.detail-b  { border-color: #fae58a; }

.detail-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #f8fafd;
  border-bottom: 1px solid #e8edf5;
}
.detail-aa .detail-card-head { background: #fff0f0; border-bottom-color: #f5b0b0; }
.detail-a  .detail-card-head { background: #fff6ee; border-bottom-color: #fbd0a8; }

.detail-rank-badge {
  flex-shrink: 0;
  width: 36px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 900;
  color: #fff;
}
.drank-aa { background: #c0392b; }
.drank-a  { background: #e06d1a; }
.drank-b  { background: #c89000; }

.detail-card-head h4 { flex: 1; font-size: .97rem; font-weight: 700; color: #1a1a2e; margin: 0; }
.detail-category-tag {
  flex-shrink: 0;
  background: #e8edf5;
  color: #1f63b8;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.detail-card-body { padding: 20px; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.detail-item label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8a96aa;
  margin-bottom: 4px;
}
.detail-item span { font-size: .84rem; color: #2a3a55; font-weight: 500; }
.detail-amount { color: #c0392b !important; font-weight: 700 !important; }
.detail-risk-desc, .detail-rec { margin-bottom: 14px; }
.detail-risk-desc h5, .detail-rec h5 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7a95;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-rec h5 { color: #1f63b8; }
.detail-risk-desc p { font-size: .85rem; color: #2a3a55; line-height: 1.75; }
.detail-rec ol { padding-left: 20px; }
.detail-rec li { font-size: .84rem; color: #2a3a55; line-height: 1.65; margin-bottom: 4px; }
.mt-16 { margin-top: 16px; }

/* ---- Action Tab ---- */
.action-intro {
  background: #f0f6ff;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 28px;
}
.action-intro p { font-size: .9rem; color: #2a3a55; font-weight: 500; margin: 0; }

.action-timeline { display: flex; flex-direction: column; gap: 0; }
.at-item {
  display: flex;
  gap: 0;
  position: relative;
}
.at-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 72px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: #e8edf5;
}
.at-marker {
  flex-shrink: 0;
  width: 120px;
  padding: 0 16px 0 0;
  text-align: right;
  padding-top: 16px;
}
.at-phase {
  display: block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1f63b8;
  margin-bottom: 4px;
}
.at-period {
  display: block;
  font-size: .72rem;
  color: #8a96aa;
  font-weight: 500;
}
.at-content {
  flex: 1;
  border-left: 2px solid #1f63b8;
  padding: 16px 0 32px 24px;
  position: relative;
}
.at-content::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: #1f63b8;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(31,99,184,.2);
}
.at-immediate .at-content { border-color: #c0392b; }
.at-immediate .at-content::before { background: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.2); }
.at-short    .at-content { border-color: #e06d1a; }
.at-short    .at-content::before { background: #e06d1a; box-shadow: 0 0 0 3px rgba(224,109,26,.2); }
.at-medium   .at-content { border-color: #c89000; }
.at-medium   .at-content::before { background: #c89000; box-shadow: 0 0 0 3px rgba(200,144,0,.2); }

.at-content h4 {
  font-size: .95rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.at-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.at-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafd;
  border-radius: 10px;
  padding: 14px 16px;
}
.at-badge {
  flex-shrink: 0;
  width: 30px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 900;
  color: #fff;
  margin-top: 2px;
}
.at-aa { background: #c0392b; }
.at-a  { background: #e06d1a; }
.at-b  { background: #c89000; }
.at-list li strong { font-size: .88rem; color: #1a1a2e; display: block; margin-bottom: 4px; }
.at-list li p { font-size: .8rem; color: #6b7a95; line-height: 1.55; margin: 0; }

.action-followup {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #f0f6ff, #e8f0fb);
  border: 1px solid #c0d4f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
}
.action-followup i { color: #1f63b8; font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.action-followup p { font-size: .85rem; color: #2a3a55; line-height: 1.75; margin: 0; }

/* Claim badges */
.claim-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.claim-no    { background: #fde8e8; color: #c0392b; }
.claim-maybe { background: #fef3e2; color: #c07800; }
.claim-yes   { background: #e8f5e9; color: #2e7d32; }

/* ============================================================
   RESPONSIVE — MODAL & BANNER
   ============================================================ */
@media (max-width: 768px) {
  .srb-inner { flex-direction: column; padding: 28px 24px; }
  .srb-btn { width: 100%; justify-content: center; }
  .report-modal-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 20px; }
  .report-section { padding: 20px; max-height: 72vh; }
  .exec-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .at-item { flex-direction: column; }
  .at-item::after { display: none; }
  .at-marker { width: 100%; text-align: left; display: flex; gap: 8px; align-items: center; padding: 0 0 8px 0; }
  .at-content { border-left: none; border-top: 2px solid #1f63b8; padding: 16px 0 24px 0; }
  .at-content::before { display: none; }
  .at-immediate .at-content { border-top-color: #c0392b; }
  .at-short    .at-content { border-top-color: #e06d1a; }
  .at-medium   .at-content { border-top-color: #c89000; }
  .report-modal-overlay { padding: 0; align-items: flex-end; }
  .report-modal { border-radius: 20px 20px 0 0; max-height: 95vh; }
}

/* ============================================================
   EXPERT CARD — years badge & profile btn & meta row
   ============================================================ */
.expert-photo-wrap { position: relative; }
.expert-years-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11,61,122,.82);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.expert-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.emeta-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #8a96aa;
  text-transform: uppercase;
  background: #f0f4fa;
  padding: 2px 8px;
  border-radius: 4px;
}
.emeta-val { font-size: .82rem; color: #2a3a55; }
.etag-accent {
  background: rgba(245,180,0,.15);
  color: #9a6e00;
  border: 1px solid rgba(245,180,0,.4);
}
.expert-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1f63b8;
  margin-top: 4px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .88rem;
  transition: gap .2s, color .2s;
}
.expert-profile-btn:hover { gap: 10px; color: #0b3d7a; }

/* ============================================================
   EXPERT PROFILE MODAL
   ============================================================ */
.profile-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,15,35,.78);
  backdrop-filter: blur(6px);
  z-index: 9100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.profile-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.profile-modal {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 760px;
  box-shadow: 0 32px 96px rgba(0,0,0,.45);
  overflow: hidden;
  transform: translateY(24px) scale(.98);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  margin: auto;
  position: relative;
}
.profile-modal-overlay.open .profile-modal {
  transform: translateY(0) scale(1);
}
.profile-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #1a1a2e;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.profile-modal-close:hover { background: #fff; transform: rotate(90deg); }

/* Hero */
.pm-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 280px;
  background: linear-gradient(135deg, #0b3d7a 0%, #1f63b8 100%);
}
.pm-photo-wrap {
  position: relative;
  overflow: hidden;
}
.pm-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.pm-photo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1a3a6b;
  color: rgba(255,255,255,.4);
  font-size: 4rem;
}
.pm-years-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11,61,122,.85);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
}
.pm-hero-info {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pm-flag-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.pm-flag { font-size: 1.4rem; line-height: 1; }
.pm-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.pm-title {
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  margin-bottom: 2px;
}
.pm-title-en {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.pm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.pm-tag {
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.3);
}
.pm-tag-accent {
  background: rgba(245,180,0,.25);
  border-color: rgba(245,180,0,.5);
  color: #f5d060;
}
.pm-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pm-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pm-meta-label {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.pm-meta-val {
  font-size: .82rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

/* Body */
.pm-body {
  padding: 32px 36px 36px;
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c0ccdf #f0f4fa;
}
.pm-body::-webkit-scrollbar { width: 5px; }
.pm-body::-webkit-scrollbar-track { background: #f0f4fa; }
.pm-body::-webkit-scrollbar-thumb { background: #c0ccdf; border-radius: 3px; }

.pm-catchcopy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0f6ff;
  border-left: 4px solid #1f63b8;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.pm-catchcopy i { color: #1f63b8; font-size: 1.1rem; flex-shrink: 0; margin-top: 3px; }
.pm-catchcopy p { font-size: .95rem; color: #1a2a45; font-weight: 600; line-height: 1.65; margin: 0; }

.pm-section { margin-bottom: 28px; }
.pm-section-title {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #1f63b8;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8edf5;
}
.pm-body-text {
  font-size: .9rem;
  color: #2a3a55;
  line-height: 1.8;
  margin-bottom: 10px;
}
.pm-body-text:last-child { margin-bottom: 0; }

/* Career timeline */
.pm-career-list { display: flex; flex-direction: column; gap: 0; }
.pm-career-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  position: relative;
}
.pm-career-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 72px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: #e8edf5;
}
.pm-career-period {
  flex-shrink: 0;
  width: 72px;
  font-size: .75rem;
  font-weight: 700;
  color: #8a96aa;
  text-align: right;
  padding-top: 3px;
}
.pm-career-detail {
  flex: 1;
  padding-left: 20px;
  border-left: 2px solid #1f63b8;
  padding-bottom: 8px;
  position: relative;
}
.pm-career-detail::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #1f63b8;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(31,99,184,.2);
}
.pm-career-detail strong { font-size: .9rem; color: #1a1a2e; display: block; margin-bottom: 4px; }
.pm-career-detail p { font-size: .82rem; color: #6b7a95; line-height: 1.6; margin: 0; }

/* Expertise grid */
.pm-expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pm-expertise-card {
  background: #f8fafd;
  border: 1px solid #e0e8f5;
  border-radius: 14px;
  padding: 18px 16px;
  transition: box-shadow .2s, transform .2s;
}
.pm-expertise-card:hover { box-shadow: 0 4px 16px rgba(31,99,184,.12); transform: translateY(-2px); }
.pm-exp-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1f63b8, #3a8de8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  margin-bottom: 10px;
}
.pm-expertise-card h4 { font-size: .85rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.pm-expertise-card p { font-size: .78rem; color: #6b7a95; line-height: 1.6; margin: 0; }

/* Fit list */
.pm-section-cta-block {
  background: #f8fafd;
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid #e0e8f5;
}
.pm-fit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pm-fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: #2a3a55;
  line-height: 1.6;
}
.pm-fit-list li i { color: #1f63b8; flex-shrink: 0; margin-top: 3px; }

/* CTA row */
.pm-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.pm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 14px 32px;
}

/* Responsive */
@media (max-width: 640px) {
  .pm-hero { grid-template-columns: 1fr; }
  .pm-photo-wrap { height: 240px; }
  .pm-body { padding: 20px; max-height: none; }
  .pm-expertise-grid { grid-template-columns: 1fr; }
  .pm-meta-grid { grid-template-columns: 1fr; }
  .pm-career-item { flex-direction: column; gap: 4px; }
  .pm-career-item::after { display: none; }
  .pm-career-period { width: auto; text-align: left; }
  .pm-career-detail { border-left: none; border-top: 2px solid #1f63b8; padding: 12px 0 0; }
  .pm-career-detail::before { display: none; }
  .profile-modal-overlay { padding: 0; align-items: flex-end; }
  .profile-modal { border-radius: 24px 24px 0 0; max-height: 95vh; }
}

/* ============================================================
   LOAN — Vietnam Expert Profile Additions
   ============================================================ */

/* Expert card — Vietnam badge variant */
.expert-years-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11,61,122,.85);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
}
.expert-years-badge--vn {
  background: rgba(13,85,29,.9);
  border-color: rgba(93,200,37,.4);
  color: #d4f7b0;
}
.etag-accent { background: #fff3cd; color: #805800; }
.emeta-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9eb3c8;
  min-width: 46px;
}
.emeta-val { font-size: .82rem; color: #3a4a5c; }
.expert-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

/* Profile modal — Vietnam hero */
.pm-hero--vn {
  background: linear-gradient(135deg, #0a1f0f 0%, #0e2a14 55%, #1a3d1e 100%);
}
.pm-years-badge--vn {
  background: rgba(13,85,29,.85);
  border-color: rgba(93,200,37,.45);
  color: #c4f09a;
}
.pm-tag--green {
  background: rgba(93,200,37,.2);
  border-color: rgba(93,200,37,.4);
  color: #b4f07a;
}
.pm-tag--blue {
  background: rgba(41,182,232,.18);
  border-color: rgba(41,182,232,.35);
  color: #86dff7;
}
.pm-tag--orange {
  background: rgba(244,160,37,.18);
  border-color: rgba(244,160,37,.35);
  color: #ffc96a;
}

/* Stats row */
.pm-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.pm-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.pm-stat-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.pm-stat-num small {
  font-size: .65rem;
  font-weight: 400;
  color: rgba(200,240,200,.65);
}
.pm-stat-label {
  font-size: .65rem;
  color: rgba(200,240,200,.55);
  line-height: 1.3;
  display: block;
}

/* Vietnam catchcopy */
.pm-catchcopy--vn {
  background: linear-gradient(135deg, #ecf8ec, #f0fce8);
  border-left: 4px solid #5dc825;
  border-color: #5dc825;
}

/* Education badge */
.pm-edu-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #f5f8fc;
  border: 1px solid #e4ecf5;
  border-radius: 8px;
  font-size: .82rem;
}
.pm-edu-badge i { color: #5dc825; font-size: 1rem; }
.pm-edu-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9eb3c8;
  line-height: 1;
  margin-bottom: 2px;
}
.pm-edu-val { font-size: .85rem; font-weight: 600; color: #1a2236; }

/* VN expertise cards */
.pm-expertise-card--vn .pm-exp-icon {
  background: linear-gradient(135deg, #1a7a30, #5dc825);
}

/* Achievements list */
.pm-fit-list--achievements {
  background: #f8fafd;
  border: 1px solid #e0e8f5;
  border-radius: 12px;
  padding: 16px 20px;
}
.pm-fit-list--achievements li i { color: #5dc825; }

/* Two column layout */
.pm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
@media (max-width: 640px) {
  .pm-two-col { grid-template-columns: 1fr; }
  .pm-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* Credentials */
.pm-credentials { display: flex; flex-direction: column; gap: 8px; }
.pm-credential {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f5f8fc;
  border: 1px solid #e4ecf5;
  border-radius: 6px;
  font-size: .82rem;
  color: #1a2236;
  font-weight: 500;
}
.pm-credential--green {
  background: #ecf8ec;
  border-color: #d4efd4;
}
.pm-credential--blue {
  background: #e8f6fd;
  border-color: #cce8f5;
}
.pm-cred-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dc825;
  flex-shrink: 0;
}
.pm-cred-dot--blue { background: #29b6e8; }

/* Clients */
.pm-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.pm-client-tag {
  padding: 4px 10px;
  background: #f5f8fc;
  border: 1px solid #e4ecf5;
  border-radius: 4px;
  font-size: .8rem;
  color: #3a4a5c;
  font-weight: 600;
}
.pm-client-tag--special {
  background: #fff0ec;
  border-color: #ffd5c4;
  color: #c25a20;
}
.pm-clients-note {
  font-size: .75rem;
  color: #9eb3c8;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   ANH — Stats Bar (inline achievement highlights)
   ============================================================ */
.pm-stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
  background: linear-gradient(135deg, #f0f5ff, #e8f0fd);
  border: 1px solid #d0def7;
  border-radius: 14px;
  overflow: hidden;
}
.pm-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  text-align: center;
}
.pm-stat-divider {
  width: 1px;
  height: 40px;
  background: #c8d8f0;
  flex-shrink: 0;
}
.pm-stat-big {
  font-size: 1.4rem;
  font-weight: 900;
  color: #1f63b8;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.pm-stat-accent { color: #d4880a; }
.pm-stat-sub {
  font-size: .68rem;
  color: #6b7a95;
  line-height: 1.3;
  display: block;
}
/* expert_profile_btn shared style */
.expert-profile-btn {
  color: #1f63b8;
  font-weight: 600;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.expert-profile-btn:hover { gap: 10px; color: #0b3d7a; }
/* contact site label (JA / VI) */
.contact-site-label {
  font-size: .72rem;
  color: #94a3b8;
  margin-left: 4px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .pm-stats-bar { flex-direction: column; gap: 0; }
  .pm-stat-divider { width: 80%; height: 1px; }
}

/* ===== Expert Card: Featured (永井) ===== */
.expert-card--featured {
  border: 2px solid #8b5cf6;
  background: linear-gradient(160deg, #faf8ff 0%, #f3f0ff 100%);
}
.expert-dual-label {
  font-size: .72rem;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.expert-years-badge--legal {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}
.etag--legal {
  background: #ede9fe;
  color: #6d28d9;
  font-weight: 700;
  border: 1px solid #c4b5fd;
}

/* ===== Profile Modal: 永井 hero badge ===== */
.pm-years-badge--legal {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}
.pm-dual-label-hero {
  font-size: .75rem;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pm-tag--legal {
  background: #ede9fe;
  color: #6d28d9;
  font-weight: 700;
  border: 1px solid #c4b5fd;
}

/* ===== DUAL QUALIFICATION block ===== */
.pm-dual-block {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #c4b5fd;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.pm-dual-header { margin-bottom: 14px; }
.pm-dual-eyebrow {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7c3aed;
  display: block;
  margin-bottom: 4px;
}
.pm-dual-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #3b0764;
  margin: 0 0 4px;
}
.pm-dual-sub {
  font-size: .82rem;
  color: #6d28d9;
  margin: 0 0 12px;
}
.pm-qual-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 16px;
  border: 1px solid #c4b5fd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pm-qual-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px;
}
.pm-qual-item--legal { border-left: 4px solid #7c3aed; }
.pm-qual-item--cpa   { border-left: 4px solid #1f63b8; }
.pm-qual-divider {
  width: 1px;
  background: #e0d7fa;
  flex-shrink: 0;
}
.pm-qual-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.pm-qual-item--legal .pm-qual-icon { background: #ede9fe; color: #7c3aed; }
.pm-qual-item--cpa   .pm-qual-icon { background: #e0effe; color: #1f63b8; }
.pm-qual-detail { display: flex; flex-direction: column; gap: 2px; }
.pm-qual-detail strong { font-size: .92rem; font-weight: 700; color: #1e293b; }
.pm-qual-detail span   { font-size: .72rem; color: #64748b; }
.pm-qual-detail p      { font-size: .78rem; color: #475569; margin: 2px 0 0; }

/* ===== Expertise grid 3-col variant ===== */
.pm-expertise-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.pm-exp-icon--legal {
  background: #ede9fe !important;
  color: #7c3aed !important;
}

/* ===== Collab block ===== */
.pm-collab-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0f5ff;
  border: 1px solid #d0def7;
  border-radius: 14px;
  padding: 18px 20px;
}
.pm-collab-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #dbeafe;
  color: #1f63b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pm-collab-title {
  font-size: .95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}

@media (max-width: 640px) {
  .pm-expertise-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .pm-qual-row { flex-direction: column; }
  .pm-qual-divider { width: 100%; height: 1px; }
}
