/* =============================================
   DESIGN SYSTEM
   ============================================= */
:root {
  --bg: #FAFAF8;
  --card: #FFFFFF;
  --primary: #0F6E56;
  --primary-light: #E1F5EE;
  --primary-mid: #9FE1CB;
  --cta: #D85A30;
  --cta-hover: #C04E28;
  --text: #1A1A18;
  --text-secondary: #6B6B66;
  --text-tertiary: #9C9A92;
  --border: #E8E6E0;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-num: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
  font-family: var(--font-num);
}
.nav-logo-name { font-weight: 700; font-size: 14px; color: var(--text); }
.nav-cta {
  font-size: 13px; font-weight: 500;
  color: #fff; background: var(--primary);
  padding: 8px 20px; border-radius: 8px;
  text-decoration: none; transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

/* NAV — service dropdown (CSS-only) */
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-jp); font-size: 13px; font-weight: 600;
  color: var(--text); background: none; border: none; cursor: pointer;
  padding: 8px 0; line-height: 1;
}
.nav-dropdown-caret { font-size: 9px; color: var(--text-secondary); transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret { transform: rotate(180deg); }

/* bridge (padding-top) keeps hover continuous between toggle and menu */
.nav-dropdown-menu {
  position: absolute; top: 100%; right: 0;
  padding-top: 12px;
  min-width: 288px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  display: flex; flex-direction: column; gap: 2px;
}
.nav-dropdown-item {
  display: block; padding: 11px 14px; border-radius: 8px;
  text-decoration: none; transition: background .15s;
}
.nav-dropdown-item:hover { background: var(--bg); }
.nav-dropdown-title { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.nav-dropdown-desc  { display: block; font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.nav-dropdown-item.is-current { background: var(--primary-light); }
.nav-dropdown-item.is-current .nav-dropdown-title { color: var(--primary); }
.nav-dropdown-item.is-current .nav-dropdown-desc { color: var(--primary); opacity: .8; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  padding: 100px 24px 80px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-blob {
  position: absolute; right: -160px; top: 50%; transform: translateY(-55%);
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,110,86,0.08) 0%, transparent 65%);
}
.hero-blob-2 {
  position: absolute; left: -80px; bottom: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,90,48,0.05) 0%, transparent 65%);
}

.hero-inner {
  max-width: 1080px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 64px;
  position: relative; z-index: 1;
}

.hero-text { flex: 1; min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-num); font-size: 11px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow-line {
  width: 22px; height: 2px; border-radius: 1px;
  background: var(--primary); flex-shrink: 0;
}

.hero-heading {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 700; line-height: 1.4;
  letter-spacing: -0.01em; margin-bottom: 22px;
}
.hero-heading em {
  font-style: normal;
  background: linear-gradient(transparent 55%, var(--primary-light) 55%);
}

.hero-sub {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 38px; max-width: 460px;
}

.hero-cta-group {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px;
  background: var(--cta); color: #fff;
  font-family: var(--font-jp); font-size: 15px; font-weight: 600;
  border-radius: 10px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-primary-arrow { font-size: 16px; transition: transform 0.2s; display: inline-block; }
.btn-primary:hover .btn-primary-arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; color: var(--text-secondary);
  text-decoration: none; font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost::after { content: ''; }

.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-tertiary); font-family: var(--font-num);
}
.hero-badge-check { color: var(--primary); font-weight: 700; }

/* =============================================
   PHONE MOCKUP
   ============================================= */
.hero-visual {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.phone-ambient {
  position: absolute; inset: -60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(15,110,86,0.13) 0%, transparent 68%);
  pointer-events: none; border-radius: 50%;
}

.phone {
  position: relative;
  width: 280px; height: 580px;
  flex-shrink: 0;
}

.phone-chassis {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #303036 0%, #1c1c20 55%, #101012 100%);
  border-radius: 46px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.09),
    0 0 0 1.5px #232328,
    0 0 0 3px #16161a,
    0 50px 130px rgba(0,0,0,0.5),
    0 20px 50px rgba(0,0,0,0.25);
}

.phone-btn-power {
  position: absolute; right: -4px; top: 132px;
  width: 4px; height: 64px;
  background: linear-gradient(to bottom, #3c3c40, #28282c);
  border-radius: 0 3px 3px 0;
}
.phone-btn-silent {
  position: absolute; left: -4px; top: 105px;
  width: 4px; height: 30px;
  background: linear-gradient(to bottom, #3c3c40, #28282c);
  border-radius: 3px 0 0 3px;
}
.phone-btn-vol-up {
  position: absolute; left: -4px; top: 152px;
  width: 4px; height: 56px;
  background: linear-gradient(to bottom, #3c3c40, #28282c);
  border-radius: 3px 0 0 3px;
}
.phone-btn-vol-down {
  position: absolute; left: -4px; top: 220px;
  width: 4px; height: 56px;
  background: linear-gradient(to bottom, #3c3c40, #28282c);
  border-radius: 3px 0 0 3px;
}

.phone-screen {
  position: absolute; inset: 11px;
  background: #0c0c0e;
  border-radius: 36px; overflow: hidden;
}

.phone-island {
  position: absolute; top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 26px;
  background: #0c0c0e; border-radius: 14px;
  z-index: 20;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-db { position: absolute; inset: 0; overflow: hidden; }

/* phone screen inner: 280 - 11×2 = 258px / dashboard: 430px → scale 0.600 */
.phone-db-inner {
  position: absolute; top: 0; left: 0;
  width: 430px;
  transform: scale(0.600);
  transform-origin: top left;
  pointer-events: none; user-select: none;
}

/* =============================================
   DASHBOARD MOCK  (db- prefix, isolated)
   ============================================= */
.db-wrap {
  max-width: 430px; min-height: 950px;
  padding: 0 16px 40px;
  font-family: 'Outfit', 'Inter', sans-serif;
  background: #F3F0E9; color: #10221C;
  -webkit-font-smoothing: antialiased;
}

.db-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0 14px;
}
.db-brand { display: flex; align-items: center; gap: 9px; }
.db-brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: #0E5C45;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.db-brand-name  { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.db-brand-sub   { font-size: 11px; color: #6E7A74; margin-top: -2px; }
.db-period {
  font-size: 12px; color: #6E7A74;
  border: 1px solid #E2DDD2; border-radius: 999px;
  padding: 6px 12px; background: #fff;
  display: flex; align-items: center; gap: 6px; font-weight: 500;
}
.db-period-dot { width: 6px; height: 6px; border-radius: 50%; background: #1F8A5B; }

.db-hero {
  background: #10221C; color: #fff;
  border-radius: 20px; padding: 22px 20px 16px;
  position: relative; overflow: hidden; margin-bottom: 14px;
}
.db-hero::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,75,.22), transparent 70%);
}
.db-hero-label  { font-size: 12px; color: #A7B4AE; font-weight: 500; }
.db-hero-value  {
  font-size: 42px; font-weight: 800; letter-spacing: -.02em;
  margin: 6px 0 2px; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.db-hero-yen    { font-size: 24px; font-weight: 600; color: #C9D3CE; }
.db-hero-delta  {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600;
  background: rgba(31,138,91,.22); color: #7FE0AE;
  padding: 4px 10px; border-radius: 999px; margin-top: 4px;
}
.db-hero-chart  { margin-top: 16px; position: relative; z-index: 1; }
.db-hero-chart svg { display: block; width: 100%; height: 88px; }
.db-hero-foot   {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #8A968F; margin-top: 8px;
}

.db-sec {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 20px 2px 12px;
}
.db-sec-title   { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.db-sec-note    { font-size: 11.5px; color: #6E7A74; }

.db-formula {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1px solid #E2DDD2; border-radius: 12px;
  padding: 11px; margin-bottom: 14px;
  font-size: 12px; color: #6E7A74; font-weight: 500;
}
.db-formula b   { color: #10221C; font-weight: 700; }
.db-formula-op  {
  color: #C8A24B; font-weight: 700;
  font-family: 'Roboto Mono', 'Courier New', monospace;
}

.db-factors { display: flex; flex-direction: column; gap: 11px; }
.db-factor {
  background: #fff; border: 1px solid #E2DDD2;
  border-radius: 16px; padding: 15px 16px;
  display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.db-factor::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.db-factor.up::before { background: #1F8A5B; }
.db-factor.dn::before { background: #C5503A; }
.db-spark     { width: 78px; height: 46px; flex-shrink: 0; }
.db-spark svg { display: block; width: 78px; height: 46px; }
.db-fbody     { flex: 1; min-width: 0; }
.db-fname     { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.db-ftag      { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.db-ftag.up   { background: #E2F2E9; color: #1F8A5B; }
.db-ftag.dn   { background: #F8E7E2; color: #C5503A; }
.db-fval      { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 3px; }
.db-fval small { font-size: 13px; font-weight: 600; color: #6E7A74; }
.db-fdelta    { font-size: 11.5px; font-weight: 600; margin-top: 1px; }
.db-fdelta.up { color: #1F8A5B; }
.db-fdelta.dn { color: #C5503A; }

.db-insight {
  margin-top: 16px;
  background: #F8E7E2; border: 1px solid #EFCEC5;
  border-radius: 16px; padding: 15px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.db-insight-ic {
  width: 30px; height: 30px; border-radius: 9px;
  background: #C5503A; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.db-insight-t   { font-size: 12.5px; line-height: 1.55; color: #5A2A1F; }
.db-insight-t b { color: #C5503A; font-weight: 700; }
.db-insight-cta {
  font-size: 12px; font-weight: 600; color: #C5503A;
  margin-top: 7px; display: inline-flex; align-items: center; gap: 4px;
}
.db-insight.pos { background: #E2F2E9; border-color: #C3E3D2; }
.db-insight.pos .db-insight-ic { background: #1F8A5B; }
.db-insight.pos .db-insight-t { color: #1B4636; }
.db-insight.pos .db-insight-t b { color: #0E5C45; }
.db-insight.pos .db-insight-cta { color: #0E5C45; }
.db-foot {
  text-align: center; font-size: 10.5px; color: #6E7A74;
  margin-top: 22px; line-height: 1.5;
}

/* =============================================
   SHARED SECTION BASE
   ============================================= */
.sec { padding: 80px 24px; }
.sec-inner { max-width: 860px; margin: 0 auto; }
.sec-label {
  font-family: var(--font-num);
  font-size: 11px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.sec-heading {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700; line-height: 1.45;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.sec-sub {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.85; max-width: 560px;
}

/* =============================================
   PAIN POINTS
   ============================================= */
.pain-bg { background: var(--card); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 36px;
}
.pain-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 20px;
  border-left: 3px solid var(--primary-mid);
}
.pain-card-num {
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  color: var(--primary-mid); letter-spacing: 0.06em; margin-bottom: 10px;
}
.pain-card p { font-size: 14px; line-height: 1.75; color: var(--text-secondary); }
.pain-card p strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 3px; }

/* =============================================
   PLANS
   ============================================= */
/* =============================================
   SOLUTION / SAMPLE WORK
   ============================================= */
.solution-bg { background: var(--card); }
#solution .sec-inner { max-width: 720px; }
.sw-gallery-head {
  margin-top: 32px; color: var(--text-secondary); font-weight: 500; font-size: 12px;
}
.sw-gallery {
  display: grid; grid-template-columns: 1fr;
  margin-top: 8px; border-top: 1px solid var(--border);
}
.sw-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: color .15s;
}
.sw-card:hover { color: var(--primary); }
.sw-card-title { font-size: 14px; font-weight: 600; }
.sw-kpi { font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-left: 4px; }
.sw-card-arrow { color: var(--text-secondary); font-size: 14px; }
.sw-card:hover .sw-card-arrow { color: var(--primary); }

#plans .sec-inner { max-width: 900px; }
.plans-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 40px; align-items: stretch;
}
.plan-card {
  border-radius: 20px; overflow: hidden;
  border: 1.5px solid var(--border);
  display: flex; flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.plan-card.featured { border-color: var(--primary); }

/* head */
.plan-head { padding: 28px 28px 24px; }
.plan-head-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1a8a6a 100%);
  color: #fff;
}
.plan-head-default { background: var(--bg); }
.plan-head-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.plan-num-tag {
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; color: rgba(255,255,255,.8);
}
.plan-num-tag-muted { color: var(--text-secondary); }
.plan-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  background: rgba(255,255,255,.2); color: #fff;
  padding: 3px 10px; border-radius: 99px;
}
.plan-head-primary .plan-name { color: #fff; }
.plan-name {
  font-size: 19px; font-weight: 700; line-height: 1.4;
  letter-spacing: -.01em; margin-bottom: 8px;
}
.plan-head-primary .plan-tagline { color: rgba(255,255,255,.75); }
.plan-tagline { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }

/* body */
.plan-body {
  background: var(--card); padding: 24px 28px 28px;
  display: flex; flex-direction: column; flex: 1;
}
.plan-items { list-style: none; margin-bottom: 0; flex: 1; }
.plan-items li {
  font-size: 13px; color: var(--text-secondary);
  padding: 8px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px;
}
.plan-items li:last-child { border-bottom: none; }
.plan-items li::before {
  content: '✓'; font-size: 11px; font-weight: 700;
  color: var(--primary); flex-shrink: 0; margin-top: 2px;
}

/* price */
.plan-price {
  margin: 20px 0 16px;
  padding: 16px; background: var(--bg); border-radius: 10px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 92px; justify-content: center;
}
.plan-price-row { display: flex; align-items: baseline; gap: 10px; }
.plan-price-label { font-size: 11px; color: var(--text-secondary); font-weight: 600; width: 80px; flex-shrink: 0; }
.plan-price-val { font-size: 20px; font-weight: 800; color: var(--text); font-family: var(--font-en); }
.plan-price-val small { font-size: 12px; font-weight: 600; }
.plan-price-note { font-size: 11px; color: var(--text-secondary); }
.plan-price-consult { font-size: 16px; font-family: var(--font-jp); font-weight: 700; }
.plan-price-sub { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

/* cta */
.plan-cta {
  display: block; text-align: center;
  padding: 14px 20px; border-radius: 11px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .18s;
  font-family: var(--font-jp);
}
.plan-cta-primary { background: var(--cta); color: #fff; }
.plan-cta-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.plan-cta-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.plan-cta-outline:hover { background: var(--primary-light); }

/* =============================================
   TIMELINE
   ============================================= */
.timeline-bg { background: var(--card); }
.timeline-duration {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--primary); background: var(--primary-light);
  padding: 6px 16px; border-radius: 999px;
  margin-top: 16px; margin-bottom: 44px;
}
.timeline-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.timeline-grid::before {
  content: ''; position: absolute;
  top: 19px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--border); z-index: 0;
}
/* 3-step variant: line spans center-of-first to center-of-last only */
.timeline-3 { grid-template-columns: repeat(3, 1fr); }
.timeline-3::before { left: 16.667%; right: 16.667%; }
.timeline-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 10px; position: relative; z-index: 1;
}
.timeline-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--primary-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-size: 14px; font-weight: 700;
  color: var(--primary); margin-bottom: 18px; flex-shrink: 0;
}
.timeline-week {
  font-family: var(--font-num); font-size: 10px; font-weight: 700;
  color: var(--primary-mid); letter-spacing: 0.08em;
  margin-bottom: 5px; text-transform: uppercase;
}
.timeline-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.timeline-desc  { font-size: 12px; color: var(--text-secondary); line-height: 1.65; }

/* =============================================
   MONTHLY SUPPORT
   ============================================= */
.maint-intro {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.85; max-width: 500px; margin-top: 14px; margin-bottom: 36px;
}
.maint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 16px;
}
.maint-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 20px;
}
.maint-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 18px;
}
.maint-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.maint-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* =============================================
   ABOUT
   ============================================= */
.about-bg { background: var(--card); }
.about-card {
  max-width: 600px; margin: 36px auto 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  display: flex; gap: 22px; align-items: flex-start;
}
.about-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  flex-shrink: 0;
}
.about-name { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.about-role { font-size: 12px; color: var(--text-tertiary); margin-bottom: 12px; }
.about-bio  { font-size: 14px; color: var(--text-secondary); line-height: 1.85; }

/* =============================================
   BOTTOM CTA
   ============================================= */
.bottom-cta { background: var(--primary); padding: 72px 24px; text-align: center; }
.bottom-cta-inner { max-width: 580px; margin: 0 auto; }
.bottom-cta-heading {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700; color: #fff;
  line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 12px;
}
.bottom-cta-sub {
  font-size: 14px; color: rgba(255,255,255,0.72);
  margin-bottom: 30px; line-height: 1.85;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; border-radius: 10px;
  background: #fff; color: var(--primary);
  font-family: var(--font-jp); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.92; }
.btn-white-arrow { transition: transform 0.2s; display: inline-block; }
.btn-white:hover .btn-white-arrow { transform: translateX(3px); }
.bottom-badges {
  display: flex; gap: 18px; justify-content: center;
  margin-top: 18px; flex-wrap: wrap;
}
.bottom-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: rgba(255,255,255,0.62); font-family: var(--font-num);
}
.bottom-badge::before { content: '✓'; color: var(--primary-mid); font-weight: 700; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 28px 24px; text-align: center;
  border-top: 1px solid var(--border); background: var(--bg);
}
.footer-links {
  display: flex; gap: 20px; justify-content: center;
  margin-bottom: 10px; flex-wrap: wrap;
}
.footer-links a { font-size: 12px; color: var(--text-tertiary); text-decoration: none; }
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 11px; color: var(--text-tertiary); font-family: var(--font-num); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 880px) {
  .hero-inner { flex-direction: column; gap: 52px; padding-top: 10px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-badges    { justify-content: center; }
}

@media (max-width: 760px) {
  .sec { padding: 60px 20px; }

  .timeline-grid { grid-template-columns: 1fr; gap: 0; }
  .timeline-grid::before { display: none; }
  .timeline-step {
    flex-direction: row; text-align: left; gap: 18px;
    padding: 0 0 28px; align-items: flex-start; position: relative;
  }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 19px; top: 40px; bottom: 0;
    width: 2px; background: var(--border);
  }
  .timeline-dot { margin-bottom: 0; }

  .plans-grid { grid-template-columns: 1fr; }
  .sw-gallery { grid-template-columns: 1fr; gap: 16px; }
  .about-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 12px 16px; }
  .nav-menu { gap: 12px; }
  .nav-dropdown-toggle { font-size: 12px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .nav-dropdown-menu { min-width: 240px; }
}

@media (max-width: 540px) {
  .hero { padding: 90px 20px 64px; }
  .hero-heading { font-size: clamp(23px, 7vw, 32px); }


  .phone { width: 240px; height: 497px; }
  .phone-chassis { border-radius: 40px; }
  .phone-screen  { inset: 10px; border-radius: 30px; }
  .phone-island  { width: 76px; height: 22px; border-radius: 11px; top: 11px; }
  /* (240 - 10×2) / 430 = 220/430 ≈ 0.512 */
  .phone-db-inner { transform: scale(0.512); }
  .phone-btn-power { right: -3px; width: 3px; }
  .phone-btn-silent, .phone-btn-vol-up, .phone-btn-vol-down { left: -3px; width: 3px; }
}

/* ── FAQ ── */
.faq-list { max-width: 680px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-jp); font-size: 15px; font-weight: 600;
  color: var(--text); text-align: left;
}
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; transition: transform .25s;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
}
.faq-a.open { max-height: 200px; padding-bottom: 18px; }

/* =============================================
   FAQ (details/summary, JS-free)
   ============================================= */
.faq { max-width: 680px; margin: 36px auto 0; border-top: 1px solid var(--border); }
.faq-details { border-bottom: 1px solid var(--border); }
.faq-summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+'; flex-shrink: 0;
  font-size: 20px; font-weight: 400; color: var(--primary);
  transition: transform .2s;
}
.faq-details[open] .faq-summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 4px 20px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.85;
}

/* =============================================
   COMPARE CARDS (page-selection)
   ============================================= */
.compare-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 36px;
}
.compare-card {
  border: 1.5px solid var(--border); border-radius: 16px;
  padding: 24px; background: var(--card);
}
.compare-card.is-good { border-color: var(--primary); }
.compare-label {
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px;
  color: var(--text-tertiary);
}
.compare-card.is-good .compare-label { color: var(--primary); }
.compare-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.compare-desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; }
.compare-desc b { color: var(--text); font-weight: 700; }
.compare-conclusion {
  max-width: 640px; margin: 20px auto 0; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--primary-light); border-radius: 12px; padding: 16px 20px;
}

/* =============================================
   HONEST NOTE BOX
   ============================================= */
.note-box {
  max-width: 640px; margin: 28px auto 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 28px;
}
.note-box.is-flat {
  background: transparent; border: none; border-radius: 0; padding: 0;
  margin-top: 24px;
}
.note-box-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.note-box ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.note-box li {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.8;
  padding-left: 22px; position: relative;
}
.note-box li::before {
  content: '—'; position: absolute; left: 0; color: var(--primary-mid); font-weight: 700;
}

/* =============================================
   DASHBOARD — funnel (analysis phone mock)
   ============================================= */
.db-hero-delta.alert { background: rgba(197,80,58,.22); color: #E8A08F; }
.db-funnel { display: flex; flex-direction: column; gap: 3px; }
.db-fn-bar {
  height: 40px; border-radius: 8px; color: #fff;
  display: flex; align-items: center; padding-left: 13px;
  font-size: 12px; font-weight: 600; min-width: 96px;
  background: linear-gradient(90deg, #0E5C45, #1F8A5B);
}
.db-fn-bar.dn { background: linear-gradient(90deg, #C5503A, #D9694F); }
.db-fn-num { font-family: 'Roboto Mono', monospace; font-weight: 500; opacity: .9; margin-left: 8px; }
.db-fn-drop { font-size: 11px; color: #6E7A74; padding: 2px 0 2px 4px; }
.db-fn-drop.bad { color: #C5503A; font-weight: 600; }

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

/* =============================================
   GA4 PAGE (ga4- prefix)
   ============================================= */
/* GA4 hero: measurement blueprint (計測設計フロー図) */
.ga4-bp-glow {
  position: absolute; inset: -50px; pointer-events: none;
  background: radial-gradient(ellipse at 55% 40%, rgba(15,110,86,.14) 0%, transparent 66%);
}
.ga4-bp {
  position: relative; width: 400px; max-width: 100%;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px 26px;
  box-shadow: 0 40px 90px rgba(16,34,28,.16), 0 12px 30px rgba(0,0,0,.05);
  overflow: hidden;
}
.ga4-bp::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,110,86,.07) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.ga4-bp-head { position: relative; margin-bottom: 22px; }
.ga4-bp-eyebrow { font-family: var(--font-num); font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--primary); }
.ga4-bp-title { display: block; font-size: 19px; font-weight: 800; margin-top: 5px; letter-spacing: -.01em; }
.ga4-bp-flow { position: relative; display: flex; flex-direction: column; }
.ga4-bp-step { position: relative; display: flex; gap: 15px; padding-bottom: 24px; }
.ga4-bp-step:last-child { padding-bottom: 0; }
.ga4-bp-step:not(:last-child)::after {
  content: ''; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px;
  background: linear-gradient(var(--primary-mid), var(--border));
}
.ga4-bp-node {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 800; font-size: 16px;
}
.ga4-bp-step.is-out .ga4-bp-node {
  background: linear-gradient(135deg, var(--primary) 0%, #1a8a6a 100%); color: #fff;
  box-shadow: 0 6px 16px rgba(15,110,86,.32);
}
.ga4-bp-body { padding-top: 7px; min-width: 0; }
.ga4-bp-t { font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.ga4-bp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ga4-bp-chips span {
  font-size: 11px; color: var(--text-secondary);
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 999px;
}
.ga4-bp-metrics { display: flex; gap: 8px; }
.ga4-bp-metrics > div {
  flex: 1; text-align: center; background: var(--primary-light);
  border-radius: 10px; padding: 9px 6px;
}
.ga4-bp-metrics b { display: block; font-size: 18px; font-weight: 800; color: var(--primary); font-family: var(--font-num); white-space: nowrap; }
.ga4-bp-metrics small { font-size: 10px; color: var(--text-secondary); white-space: nowrap; }
@media (max-width: 560px) { .ga4-bp { width: 100%; padding: 24px 20px; } }

/* phone: audit checklist */
.ga4-audit { display: flex; flex-direction: column; gap: 7px; }
.ga4-audit-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #E2DDD2; border-radius: 12px; padding: 10px 13px;
}
.ga4-audit-ic {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
}
.ga4-audit-ic.ok { background: #1F8A5B; }
.ga4-audit-ic.ng { background: #C5503A; }
.ga4-audit-body { flex: 1; min-width: 0; }
.ga4-audit-label { font-size: 12.5px; font-weight: 600; color: #10221C; }
.ga4-audit-note  { font-size: 11px; color: #6E7A74; margin-top: 1px; }

/* method: 3 point cards */
.ga4-method-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 36px;
}
.ga4-method-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ga4-method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16,34,28,.10);
  border-color: var(--primary-mid);
}
.ga4-method-num {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a8a6a 100%); color: #fff;
  font-family: var(--font-num); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(15,110,86,.28);
}
.ga4-method-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ga4-method-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

/* service: full listing (2 cards) */
.ga4-svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 36px; align-items: start;
}
.ga4-svc-grid.ga4-svc-solo { grid-template-columns: minmax(0, 640px); justify-content: center; }
.ga4-svc-card {
  border: 1.5px solid var(--border); border-radius: 18px;
  overflow: hidden; background: var(--card);
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.ga4-svc-card.is-entry { border-color: var(--primary); }
.ga4-svc-head { padding: 22px 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.ga4-svc-card.is-entry .ga4-svc-head {
  background: linear-gradient(135deg, var(--primary) 0%, #1a8a6a 100%); color: #fff; border-bottom: none;
}
.ga4-svc-tag {
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 6px;
}
.ga4-svc-card.is-entry .ga4-svc-tag { color: rgba(255,255,255,.85); }
.ga4-svc-name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.ga4-svc-sub  { font-size: 12.5px; margin-top: 6px; color: var(--text-secondary); }
.ga4-svc-card.is-entry .ga4-svc-sub { color: rgba(255,255,255,.8); }
.ga4-svc-body { padding: 22px 24px; }
.ga4-svc-block { margin-bottom: 18px; }
.ga4-svc-block:last-child { margin-bottom: 0; }
.ga4-svc-block-label {
  font-size: 11px; font-weight: 700; color: var(--primary);
  letter-spacing: .04em; margin-bottom: 9px;
}
.ga4-svc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ga4-svc-list li {
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
  padding-left: 20px; position: relative;
}
.ga4-svc-list li::before {
  content: '✓'; position: absolute; left: 0; top: 2px;
  color: var(--primary); font-size: 11px; font-weight: 700;
}
.ga4-svc-list li b { color: var(--text); font-weight: 700; }
.ga4-svc-list.num { counter-reset: svc; }
.ga4-svc-list.num li { padding-left: 26px; }
.ga4-svc-list.num li::before {
  counter-increment: svc; content: counter(svc);
  background: var(--primary-light); color: var(--primary);
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 10px; top: 2px;
}
/* in-card price tiers */
.ga4-svc-price { display: flex; flex-direction: column; gap: 10px; }
.ga4-svc-price-row {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
}
.ga4-svc-price-row.is-standard { background: var(--primary-light); border-color: var(--primary-mid); }
.ga4-svc-price-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ga4-svc-price-case { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.ga4-svc-price-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  background: var(--primary); color: #fff; padding: 1px 8px; border-radius: 999px;
}
.ga4-svc-price-amt { font-size: 16px; font-weight: 800; font-family: var(--font-num); color: var(--text); white-space: nowrap; }
.ga4-svc-price-amt small { font-size: 11px; font-weight: 600; font-family: var(--font-jp); color: var(--text-secondary); }
.ga4-svc-price-desc { font-size: 12px; color: var(--text-secondary); margin-top: 6px; line-height: 1.6; }

.ga4-svc-meta {
  display: flex; gap: 24px; margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ga4-svc-meta-item { font-size: 11px; color: var(--text-secondary); }
.ga4-svc-meta-item b { display: block; font-size: 15px; color: var(--text); font-weight: 800; margin-top: 3px; font-family: var(--font-num); }

/* pricing table (in a card) */
.ga4-price-wrap {
  overflow-x: auto; margin-top: 32px;
  border: 1.5px solid var(--border); border-radius: 16px;
  background: var(--card); box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.ga4-price-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.ga4-price-table th, .ga4-price-table td {
  text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.ga4-price-table thead th {
  font-size: 12px; color: var(--text-secondary); font-weight: 600; background: var(--bg); white-space: nowrap;
}
.ga4-price-table tbody tr:last-child td { border-bottom: none; }
.ga4-price-table tbody tr.is-standard td { background: var(--primary-light); }
.ga4-price-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 999px; margin-left: 8px;
}
.ga4-price-plan { font-weight: 700; white-space: nowrap; }
.ga4-price-amount { font-family: var(--font-num); font-weight: 800; white-space: nowrap; }
.ga4-price-target { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.ga4-price-note { margin-top: 20px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; }

/* estimator */
.ga4-est-intro { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }
.ga4-estimator {
  margin-top: 32px; max-width: 640px; scroll-margin-top: 90px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(16,34,28,.08);
}
.ga4-est-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.ga4-est-hlabel {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--primary);
}
.ga4-est-hlabel svg { color: var(--primary); }
.ga4-est-progress { font-family: var(--font-num); font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.ga4-est-bar { height: 4px; background: var(--border); }
.ga4-est-bar > span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--primary), #1a8a6a); transition: width .35s ease; }
.ga4-est-body { padding: 26px 24px; }
.ga4-est-q { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 18px; }
.ga4-est-options { display: flex; flex-direction: column; gap: 10px; }
.ga4-est-opt {
  position: relative; text-align: left; width: 100%;
  background: var(--card); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 15px 44px 15px 16px;
  font-family: var(--font-jp); font-size: 14px; font-weight: 600;
  color: var(--text); cursor: pointer; transition: border-color .15s, background .15s;
}
.ga4-est-opt::after {
  content: '→'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--primary-mid); font-size: 15px; transition: color .15s, transform .15s;
}
.ga4-est-opt:hover { border-color: var(--primary); background: var(--primary-light); }
.ga4-est-opt:hover::after { color: var(--primary); transform: translateY(-50%) translateX(3px); }
.ga4-est-back {
  margin-top: 16px; background: none; border: none;
  color: var(--text-secondary); font-size: 13px; cursor: pointer; font-family: var(--font-jp);
}
.ga4-est-back:hover { color: var(--text); }
.ga4-est-back[hidden] { display: none; }
.ga4-est-result { display: none; }
.ga4-est-result.show { display: block; }
.ga4-est-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.ga4-est-badge.standard { background: var(--primary-light); color: var(--primary); }
.ga4-est-badge.complex  { background: #FDECE4; color: var(--cta); }
.ga4-est-badge.out      { background: #ECEAE4; color: var(--text-secondary); }
.ga4-est-price { font-size: 30px; font-weight: 800; font-family: var(--font-num); margin-bottom: 10px; display: flex; align-items: baseline; flex-wrap: wrap; }
.ga4-est-lead { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 4px; }
.ga4-est-break {
  margin: 16px 0 20px; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.ga4-est-break:empty { display: none; margin: 0; }
.ga4-est-break-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; font-size: 13.5px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.ga4-est-break-row:last-child { border-bottom: none; }
.ga4-est-break-row .amt { font-family: var(--font-num); font-weight: 700; color: var(--text); }
.ga4-est-break-row.total { background: var(--primary-light); }
.ga4-est-break-row.total span { color: var(--primary); font-weight: 800; font-size: 15px; }
.ga4-est-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.ga4-est-restart { background: none; border: none; color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-jp); text-decoration: underline; }
.ga4-est-restart:hover { color: var(--text); }

/* flow2: numbered pills with ▼ connectors */
.ga4-flow2 { max-width: 900px; margin: 36px auto 0; }
.ga4-fstep {
  display: flex; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.ga4-fnum {
  flex-shrink: 0; width: 46px;
  font-family: var(--font-num); font-weight: 700; font-size: 21px; color: var(--primary);
}
.ga4-ftitle { flex: 0 0 150px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ga4-fdesc { flex: 1; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.ga4-farrow {
  padding-left: 46px; margin: 7px 0;
  color: var(--primary-mid); font-size: 13px; line-height: 1;
}
@media (max-width: 620px) {
  .ga4-fstep { flex-wrap: wrap; padding: 16px 18px; }
  .ga4-fnum { width: 38px; font-size: 18px; }
  .ga4-ftitle { flex: 1; font-size: 16px; }
  .ga4-fdesc { flex: 0 0 100%; margin-top: 8px; font-size: 13px; }
  .ga4-farrow { padding-left: 30px; }
}

/* flow: STEP capsules with connecting line */
.ga4-steps { position: relative; max-width: 820px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 14px; }
.ga4-steps::before {
  content: ''; position: absolute; left: 153px; top: 38px; bottom: 38px;
  width: 2px; background: var(--primary-mid); z-index: 0;
}
.ga4-step {
  position: relative; z-index: 1; display: flex; align-items: stretch;
  background: transparent; border: 1.5px solid var(--primary-mid);
  border-radius: 16px; overflow: hidden; min-height: 74px;
}
.ga4-step-tab {
  flex-shrink: 0; width: 128px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 800; font-size: 16px; letter-spacing: .03em;
}
.ga4-step-mid { flex-shrink: 0; width: 52px; display: flex; align-items: center; justify-content: center; }
.ga4-step-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px var(--card);
}
.ga4-step-main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 22px;
  padding: 14px 24px 14px 0;
}
.ga4-step-title { flex: 0 0 150px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ga4-step-desc { flex: 1; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 620px) {
  .ga4-steps::before { left: 94px; top: 30px; bottom: 30px; }
  .ga4-step-tab { width: 80px; font-size: 13px; }
  .ga4-step-mid { width: 30px; }
  .ga4-step-main { flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px 12px 0; }
  .ga4-step-title { flex: none; font-size: 15px; }
  .ga4-step-desc { font-size: 12.5px; }
}

/* flow: (legacy) vertical steps */
.ga4-flow { max-width: 620px; margin: 36px auto 0; display: flex; flex-direction: column; }
.ga4-flow .timeline-step {
  flex-direction: row; text-align: left; gap: 18px;
  padding: 0 0 26px; align-items: flex-start; position: relative;
}
.ga4-flow .timeline-step:last-child { padding-bottom: 0; }
.ga4-flow .timeline-step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--border);
}
.ga4-flow .timeline-dot { margin-bottom: 0; }
.ga4-flow .timeline-title { margin-bottom: 5px; }

@media (max-width: 760px) {
  .ga4-method-grid { grid-template-columns: 1fr; }
  .ga4-svc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary, .btn-primary-arrow, .btn-white-arrow { transition: none; }
}
