/* ═══════════════════════════════════════════════════════════════════
   MAX AGENCY — Horizon Design System — v1.0
   July 2026  ·  Replaces: global.css + internal-pages.css + polish.css
   ───────────────────────────────────────────────────────────────────
   Load order in <head>:
     1. Google Fonts <link>
     2. <link rel="stylesheet" href="horizon.css">
     3. No other shared stylesheets needed.

   Page-specific overrides (hero image URL, etc.) go in a
   <style> block after this link, or in a page-scoped CSS file.
   ═══════════════════════════════════════════════════════════════════ */

@import url('tokens.css');


/* ─────────────────────────────────────────────
   1. RESET + BASE
   ───────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 300;
  overflow-x: hidden;
  /* text-wrap: pretty removed — iOS Safari shortens JA line measure per-paragraph,
     producing uneven text-box widths */
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

html[lang="ja"] body {
  font-family: var(--font-ja-b);
  font-weight: 400;
}


/* ─────────────────────────────────────────────
   2. SKIP LINK
   ───────────────────────────────────────────── */

.skip-to-content {
  position: absolute;
  top: 0; left: 0;
  transform: translateY(-110%);
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-b);
  font-size: var(--text-ui);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 300;
  transition: transform var(--t-base);
}
.skip-to-content:focus { transform: translateY(0); }


/* ─────────────────────────────────────────────
   3. NAV
   ───────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-2xl);
  height: var(--nav-h);
  transition: box-shadow var(--t-slow);
}
nav.scrolled { box-shadow: 0 2px 24px rgba(11,29,60,0.08); }

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 28px;
  border-right: 1px solid var(--rule);
  height: var(--nav-h);
}
.nav-logo img { height: 22px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  padding-left: var(--sp-sm);
  flex: 1;
  gap: 0;
}

.nav-links a {
  font-size: var(--text-ui);
  letter-spacing: 0.03em;
  font-weight: 400;
  color: var(--body);
  padding: 0 18px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color var(--t-base), border-color var(--t-base);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-links a:visited { color: inherit; }

/* Language toggle */
.nav-lang {
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  color: var(--muted) !important;
  border-bottom-color: transparent !important;
  margin-right: var(--sp-sm);
}
.nav-lang:hover {
  color: var(--navy) !important;
  border-bottom-color: transparent !important;
}

/* CTA button */
.nav-cta {
  margin-left: auto;
  background: var(--blue) !important;
  color: #fff !important;
  border-bottom: none !important;
  padding: 10px 22px !important;
  height: auto !important;
  border-radius: var(--radius);
  font-weight: 500 !important;
  flex-shrink: 0;
  transition: background var(--t-base) !important;
}
.nav-cta:hover {
  background: var(--blue-dk) !important;
  border-bottom-color: transparent !important;
}
.nav-cta:visited { color: #fff !important; }

/* Hamburger — hidden desktop, shown mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  cursor: pointer;
  padding: var(--sp-sm);
  background: none;
  border: none;
  z-index: 210;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: all var(--t-base);
}

/* JA nav */
html[lang="ja"] .nav-links a {
  letter-spacing: 0.06em;
}
html[lang="ja"] .nav-lang {
  letter-spacing: 0.08em !important;
}

/* JA nav labels are wider than EN and overflow at tablet widths
   (お問い合わせ CTA clipped on iPad). Two-stage tightening below full
   desktop: moderate for regular iPads (801px+), tight only in the
   narrow band above the hamburger breakpoint (iPad mini territory). */
@media (min-width: 801px) and (max-width: 1180px) {
  html[lang="ja"] nav { padding: 0 clamp(24px, 3vw, 36px); }
  html[lang="ja"] .nav-logo { padding-right: 22px; }
  html[lang="ja"] .nav-links a { padding: 0 14px; letter-spacing: 0.04em; }
  html[lang="ja"] .nav-lang { margin-right: 6px; }
  html[lang="ja"] .nav-cta { padding: 10px 18px !important; }
}
@media (min-width: 681px) and (max-width: 800px) {
  html[lang="ja"] nav { padding: 0 20px; }
  html[lang="ja"] .nav-logo { padding-right: 16px; }
  html[lang="ja"] .nav-links { padding-left: 4px; }
  html[lang="ja"] .nav-links a { padding: 0 10px; letter-spacing: 0.02em; }
  html[lang="ja"] .nav-lang { margin-right: 4px; }
  html[lang="ja"] .nav-cta { padding: 10px 14px !important; }
}


/* ─────────────────────────────────────────────
   4. SECTION CHROME
   ───────────────────────────────────────────── */

.section-eyebrow {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-rule {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-d);
  font-size: var(--text-h1);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.label-chip {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 4px 12px;
  margin-bottom: 20px;
}

html[lang="ja"] .section-eyebrow,
html[lang="ja"] .label-chip {
  letter-spacing: 0.1em;
  text-transform: none;
}
html[lang="ja"] .section-title {
  font-family: var(--font-ja-d);
  font-weight: 500;
}


/* ─────────────────────────────────────────────
   5. BUTTONS
   ───────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-fast);
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); }
.btn-primary:visited { color: #fff; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--t-base);
}
.btn-ghost::after { content: '→'; color: var(--blue); transition: transform var(--t-base); }
.btn-ghost:hover { color: var(--blue); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-blue {
  display: inline-block;
  padding: 16px 48px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--t-base);
}
.btn-blue:hover { background: var(--blue-dk); }
.btn-blue:visited { color: #fff; }

html[lang="ja"] .btn-primary,
html[lang="ja"] .btn-ghost,
html[lang="ja"] .btn-blue {
  font-family: var(--font-ja-b);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 14px;
}


/* ─────────────────────────────────────────────
   6. HERO — SPLIT (index pages)
   ───────────────────────────────────────────── */

.hero-split {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}

/* Left: white content pane */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 60px;
  position: relative;
}
.hero-vline {
  position: absolute;
  left: 60px; top: 50%;
  transform: translateY(-50%);
  height: 55%; width: 3px;
  background: var(--blue);
}
.hero-content { padding-left: 36px; }

.hero-eyebrow {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--blue);
}
.hero-title {
  font-family: var(--font-d);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 36px;
  letter-spacing: -0.015em;
}
.hero-title .blue { color: var(--blue); }
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--body);
  max-width: 430px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

/* Right: navy stats panel */
.hero-right {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.hero-right-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
.track-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 52px;
  position: relative;
}
.hero-stat {
  position: relative;
  margin-bottom: 44px;
  padding-left: 28px;
  border-left: 2px solid var(--blue);
}
.hero-stat:last-child { margin-bottom: 0; }
.hero-stat-num {
  font-family: var(--font-d);
  font-size: clamp(58px, 6.5vw, 92px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero-stat-num sup {
  font-size: 0.38em;
  vertical-align: super;
  margin-left: 3px;
  color: var(--accent-dark);
  font-weight: 400;
}
.hero-stat-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.68);
  margin-top: 6px;
}

/* JA hero tuning */
html[lang="ja"] .hero-eyebrow {
  letter-spacing: 0.16em;
  text-transform: none;
  font-size: 12px;
  line-height: 1.6;
}
html[lang="ja"] .hero-title {
  font-family: var(--font-ja-d);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
html[lang="ja"] .hero-sub {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.85;
}


/* ─────────────────────────────────────────────
   7. HERO — PAGE (internal pages, photo bg)
   ───────────────────────────────────────────── */

.page-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  /* top = nav height + breathing room, balanced with bottom —
     matters when hero copy is taller than the viewport */
  padding: calc(var(--nav-h) + 60px) var(--sp-2xl) 60px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-hero .hero-content { position: relative; max-width: 780px; min-width: 0; /* flex item: never wider than viewport even with nowrap children */ }
.page-hero .hero-title { color: #fff; font-size: clamp(40px, 5.5vw, 68px); }
.page-hero .hero-title em { font-style: normal; color: var(--accent-dark); }
.page-hero .hero-sub { color: rgba(255,255,255,0.7); max-width: 560px; }
.page-hero .btn-ghost { color: rgba(255,255,255,0.85); }
.page-hero .btn-ghost::after { color: var(--accent-dark); }
.page-hero .btn-ghost:hover { color: #fff; }

/* ─────────────────────────────────────────────
   7b. COMPACT PAGE HEADER — non-hero page tops
        (company, privacy, legal pages: light
        banner instead of a full-viewport hero)
   ───────────────────────────────────────────── */

.page-header {
  padding: calc(var(--nav-h) + 96px) var(--sp-2xl) 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.page-header-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}
.page-header-title {
  font-family: var(--font-d);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}
.page-header-title em { font-style: normal; color: var(--blue); }

html[lang="ja"] .page-header-title { font-family: var(--font-ja-d); font-weight: 500; }
html[lang="ja"] .page-header-eyebrow { letter-spacing: 0.1em; }

@media (max-width: 1100px) {
  .page-header { padding: calc(var(--nav-h) + 56px) var(--sp-page-md) 40px; }
}
@media (max-width: 680px) {
  .page-header { padding: calc(var(--nav-h) + 40px) var(--sp-page-sm) 32px; }
  /* JA header titles contain long unbreakable katakana (マックスエージェンシー,
     プライバシーポリシー) — size so they fit one line on phones */
  html[lang="ja"] .page-header-title { font-size: clamp(24px, 7.4vw, 34px); }
}

html[lang="ja"] .page-hero .hero-title {
  font-family: var(--font-ja-d);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.3;
}


/* ─────────────────────────────────────────────
   8. STAT BAR
   ───────────────────────────────────────────── */

.stat-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding: 0 var(--sp-2xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 20px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
}
html[lang="ja"] .stat-label {
  letter-spacing: 0.06em;
  text-transform: none;
}


/* ─────────────────────────────────────────────
   9. SECTION WRAPPER
   ───────────────────────────────────────────── */

.section {
  padding: var(--sp-section) var(--sp-2xl);
}
.section-bg { background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.section-intro {
  font-size: var(--text-small);
  line-height: 1.85;
  color: var(--body);
  max-width: 640px;
  margin-top: 16px;
}


/* ─────────────────────────────────────────────
   10. SERVICES GRID
   ───────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}
.service-card {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
  min-width: 0; /* let grid columns shrink below content min-width — prevents viewport overflow */
}
/* Two service cards side by side (inside a full-width services-grid row) */
.service-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
}
.service-card:hover { background: var(--bg-alt); }
.service-card.featured {
  background: var(--navy);
}
.service-card.featured:hover { background: var(--navy-mid); }

.service-num {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--blue);
  margin-bottom: 36px;
}
.service-card.featured .service-num { color: rgba(255,255,255,0.35); }

.service-name {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.service-card.featured .service-name { color: #fff; }

html[lang="ja"] .service-name { font-family: var(--font-ja-d); font-weight: 500; }

.service-desc {
  font-size: var(--text-small);
  line-height: 1.9;
  color: var(--body);
  flex: 1;
  margin-bottom: 36px;
}
.service-card.featured .service-desc { color: rgba(255,255,255,0.6); }

.service-link {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--t-base);
  min-height: 44px;
}
.service-link::after { content: '→'; }
.service-link:hover { gap: 14px; }
.service-card.featured .service-link { color: rgba(255,255,255,0.75); }
.service-card.featured .service-link:hover { color: #fff; }
html[lang="ja"] .service-link { letter-spacing: 0.06em; text-transform: none; }


/* ─────────────────────────────────────────────
   11. CARDS — generic 2- and 3-column
   ───────────────────────────────────────────── */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
}
.card {
  background: var(--bg);
  padding: 48px 38px;
  border-bottom: 2px solid transparent;
  transition: background var(--t-slow), border-color var(--t-slow);
}
.card:hover { background: var(--bg-alt); border-bottom-color: var(--blue); }
.card-tag {
  font-size: var(--text-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
html[lang="ja"] .card-tag { letter-spacing: 0.1em; text-transform: none; }
.card-title {
  font-family: var(--font-d);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}
html[lang="ja"] .card-title { font-family: var(--font-ja-d); font-weight: 500; }
.card-copy {
  font-size: var(--text-small);
  color: var(--body);
  line-height: 1.8;
}


/* ─────────────────────────────────────────────
   12. SPLIT SECTION (difference / about)
   ───────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-start { align-items: start; }

/* Visual / image pane */
.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--navy);
  overflow: hidden;
}
.split-visual-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.split-visual-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(26,94,212,0.22) 0%, transparent 60%);
}
.split-badge {
  position: absolute; top: 48px; right: -1px;
  background: var(--blue); color: #fff;
  padding: 14px 20px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* Japanese accent block */
.ja-accent {
  margin: 28px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--blue);
  background: rgba(26,94,212,0.04);
}
.ja-accent-char {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.12em;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.ja-accent-roman {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.ja-accent-trans {
  font-family: var(--font-d);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--body);
  line-height: 1.6;
}

.diff-list { list-style: none; margin-top: 24px; }
.diff-list li {
  font-size: var(--text-ui);
  color: var(--body);
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.6;
}
.diff-list li::before { content: '—'; color: var(--blue); flex-shrink: 0; }


/* ─────────────────────────────────────────────
   13. FOUNDER SECTION
   ───────────────────────────────────────────── */

.founder-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: start;
}
.founder-photo {
  aspect-ratio: 3/4;
  width: 100%;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--rule) 100%);
  display: flex; align-items: center; justify-content: center;
}
.founder-photo-placeholder span {
  font-family: var(--font-d);
  font-size: 64px;
  font-weight: 600;
  color: var(--rule);
}
.founder-name {
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.founder-role {
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
html[lang="ja"] .founder-role { letter-spacing: 0.08em; text-transform: none; }

.founder-pull {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 36px;
}
.founder-pull em { font-style: italic; color: var(--blue); }
html[lang="ja"] .founder-pull {
  font-family: var(--font-ja-d);
  font-weight: 500;
}
html[lang="ja"] .founder-pull em { font-style: normal; }
.founder-body {
  font-size: var(--text-small);
  line-height: 2;
  color: var(--body);
  margin-bottom: 18px;
}


/* ─────────────────────────────────────────────
   14. CONTACT SECTION
   ───────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-details { margin-top: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-item:first-child { padding-top: 0; }
.cd-label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  min-width: 76px;
  margin-top: 2px;
  flex-shrink: 0;
}
html[lang="ja"] .cd-label { letter-spacing: 0.08em; text-transform: none; }
.cd-value { font-size: var(--text-small); color: var(--body); line-height: 1.6; }
.cd-value a:hover { color: var(--blue); }


/* ─────────────────────────────────────────────
   15. CONTACT STRIP (internal pages)
   ───────────────────────────────────────────── */

.contact-strip {
  background: var(--navy);
  padding: var(--sp-3xl) var(--sp-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.contact-strip-text { position: relative; }
.contact-strip h3 {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
html[lang="ja"] .contact-strip h3 { font-family: var(--font-ja-d); font-weight: 500; }
.contact-strip p {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.68);
  margin-top: 10px;
}


/* ─────────────────────────────────────────────
   16. CTA BAND (homepage)
   ───────────────────────────────────────────── */

.cta-band {
  background: var(--navy);
  padding: var(--sp-3xl) var(--sp-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.cta-band-text { position: relative; }
.cta-headline {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
html[lang="ja"] .cta-headline { font-family: var(--font-ja-d); font-weight: 500; }
.cta-sub {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.68);
  margin-top: 10px;
}


/* ─────────────────────────────────────────────
   17. FAQ
   ───────────────────────────────────────────── */

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--rule);
}
.faq-item { background: var(--bg); padding: 28px 30px; }
.faq-q {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
html[lang="ja"] .faq-q { font-family: var(--font-ja-b); }
.faq-a {
  font-size: var(--text-small);
  line-height: 1.8;
  color: var(--body);
}


/* ─────────────────────────────────────────────
   18. FORM ELEMENTS
   ───────────────────────────────────────────── */

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 8px;
}
html[lang="ja"] .form-group label {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: var(--text-label);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-b);
  font-size: 16px; /* ≥16px prevents iOS Safari zoom */
  font-weight: 300;
  padding: 12px 16px;
  appearance: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
html[lang="ja"] .form-group input,
html[lang="ja"] .form-group select,
html[lang="ja"] .form-group textarea {
  font-family: var(--font-ja-b);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,94,212,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A96A8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  margin-top: 8px;
  border-radius: var(--radius);
  transition: background var(--t-base);
}
.form-submit:hover { background: var(--blue-dk); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
html[lang="ja"] .form-submit {
  font-family: var(--font-ja-b);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 14px;
}


/* ─────────────────────────────────────────────
   19. FOOTER
   ───────────────────────────────────────────── */

footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: 64px var(--sp-2xl) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer-tagline {
  font-size: var(--text-ui);
  line-height: 1.8;
  color: var(--body);
  max-width: 290px;
  margin-top: 18px;
}
html[lang="ja"] .footer-tagline { font-family: var(--font-ja-b); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
html[lang="ja"] .footer-col-title { letter-spacing: 0.1em; text-transform: none; }
.footer-col a {
  font-size: var(--text-ui);
  color: var(--body);
  transition: color var(--t-base);
}
.footer-col a:hover { color: var(--blue); }
.footer-col a:visited { color: var(--body); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-legal {
  font-size: var(--text-label);
  color: var(--muted);
  letter-spacing: 0.03em;
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--navy); }


/* ─────────────────────────────────────────────
   20. RESPONSIVE — TABLET (≤1100px)
   ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  nav { padding: 0 var(--sp-page-md); }
  .hero-left { padding: 72px 48px 72px 40px; }
  .hero-vline { left: 40px; }
  .hero-content { padding-left: 28px; }
  .hero-right { padding: 72px 48px; }
  .stat-bar { padding: 0 var(--sp-page-md); }

  .section { padding-left: var(--sp-page-md); padding-right: var(--sp-page-md); }
  .cta-band,
  .contact-strip,
  footer { padding-left: var(--sp-page-md); padding-right: var(--sp-page-md); }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card.featured { grid-column: 1 / -1; }

  .split { gap: 56px; }
  .founder-layout { gap: 56px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }

  .cards-3 { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────────
   21. RESPONSIVE — TABLET PORTRAIT (≤860px)
   ───────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 36px;
    padding: 56px 36px;
  }
  .track-label { width: 100%; margin-bottom: 0; }
  .hero-stat { flex: 1; min-width: 140px; margin-bottom: 0; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-badge { display: none; }

  .founder-layout { grid-template-columns: 220px 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .contact-strip { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 28px; }
  .btn-blue { width: 100%; text-align: center; }
}


/* ─────────────────────────────────────────────
   22. RESPONSIVE — MOBILE (≤680px)
   ───────────────────────────────────────────── */

@media (max-width: 680px) {
  nav { padding: 0 var(--sp-page-sm); }

  /* Show hamburger, hide desktop links */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 16px 0;
    gap: 0;
    box-shadow: 0 8px 32px rgba(11,29,60,0.1);
    z-index: 199;
  }
  .nav-links.open a {
    height: 52px;
    padding: 0 24px;
    width: 100%;
    border-bottom: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule) !important;
    font-size: 15px;
    min-height: 44px;
  }
  .nav-links.open a:last-child { border-bottom: none !important; }
  .nav-cta { margin-left: 0 !important; }
  .nav-hamburger { display: flex; }

  body.nav-open { overflow: hidden; }

  /* Hero split stacks */
  .hero-left { padding: 60px var(--sp-page-sm) 56px; }
  .hero-vline { left: var(--sp-page-sm); height: 50%; }
  .hero-content { padding-left: var(--sp-page-sm); }
  .hero-right { flex-direction: column; padding: 52px var(--sp-page-sm); gap: 40px; }
  .hero-stat { min-width: 0; }
  .hero-stat-num { font-size: clamp(48px, 13vw, 68px); }

  /* Page hero — compact scale so long hero copy fits the first viewport;
     applied globally for cross-page consistency */
  .page-hero { padding: calc(var(--nav-h) + 44px) var(--sp-page-sm) 48px; }
  .page-hero .hero-title { font-size: clamp(28px, 7.6vw, 38px); margin-bottom: 20px; }
  /* JA sized so the longest BudouX phrase (13 chars + letter-spacing,
     translations hero) fits one line with REAL margin at every phone
     width incl. 320px — verified by tools/ja_linecheck.py. Previous
     6.6vw left only 7px slack at 375px and broke in practice. */
  html[lang="ja"] .page-hero .hero-title { font-size: clamp(20px, 6.2vw, 34px); letter-spacing: 0; }
  .page-hero .hero-sub { font-size: 15px; line-height: 1.7; margin-bottom: 28px; }

  /* JA display type sized so the longest unbreakable phrase on the site
     fits one line at 320px+ — verified by tools/ja_linecheck.py */
  html[lang="ja"] .section-title { font-size: clamp(24px, 7.6vw, 34px); }
  html[lang="ja"] .card-title { font-size: 24px; }
  html[lang="ja"] .cta-headline,
  html[lang="ja"] .contact-strip h3 { font-size: clamp(22px, 6.8vw, 30px); }

  /* Stat bar */
  .stat-bar { padding: 0 var(--sp-page-sm); grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--rule); }

  /* Sections */
  .section { padding: 72px var(--sp-page-sm); }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band,
  .contact-strip,
  footer { padding-left: var(--sp-page-sm); padding-right: var(--sp-page-sm); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card.featured { grid-column: auto; }
  .service-card { padding: 36px 24px; }
  .service-pair { grid-template-columns: 1fr; }

  /* Cards */
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .card { padding: 34px 24px; }

  /* Founder */
  .founder-layout { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo { max-width: 200px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-tagline { max-width: none; }
}


/* ─────────────────────────────────────────────
   23. JAPANESE TYPOGRAPHY
   ───────────────────────────────────────────── */

/* Kinsoku + natural breaks — site-wide via inheritance.
   NOTE: word-break: keep-all + overflow-wrap: anywhere (previous rule)
   caused emergency breaks at arbitrary points: lone 。/、 at line starts
   and mid-word splits (お問い合/わせ). normal + strict + break-word gives
   standard JA typesetting: breaks anywhere EXCEPT before punctuation. */
html[lang="ja"] body {
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

/* JA display text: phrase-boundary wrapping in ALL browsers.
   tools/ja_wrap.py bakes <wbr> markers at BudouX phrase boundaries
   into every h1/h2/h3/.founder-pull on the JA pages. keep-all forbids
   all other CJK break points, so lines can ONLY break between phrases
   — no メッセー/ジ or しま/す breaks, Safari included.
   RUN tools/ja_wrap.py AFTER ANY JA DISPLAY-TEXT CHANGE.
   break-word remains as a last resort so text can never overflow. */
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] .founder-pull {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
}

/* text-wrap: balance / pretty removed site-wide (KJ, Jul 9): they shorten
   line measure unevenly per paragraph/heading on iOS — all text boxes now
   fill full available width for consistency. */

/* Phrase wrapper — keeps bunsetsu intact WITHOUT ever overflowing.
   A phrase that fits moves to the next line as a unit (phrase control
   preserved). A phrase too long for the line wraps INSIDE itself:
   first at punctuation (keep-all), then anywhere as a last resort
   (break-word). Works at every viewport width — no breakpoints. */
.ja-phrase {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Stat label multi-line via <span class="line"> */
html[lang="ja"] .stat-label .line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 380px) {
  html[lang="ja"] .stat-label .line { white-space: normal; word-break: normal; }
}

/* JA home hero title mobile (page-hero titles are sized globally in §22) */
@media (max-width: 480px) {
  html[lang="ja"] .hero-split .hero-title {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    line-height: 1.3 !important;
  }
}


/* ─────────────────────────────────────────────
   23b. SCROLL REVEAL
   Subtle one-time fade/rise as sections enter
   the viewport. Never loops, never re-triggers.
   ───────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}


/* ─────────────────────────────────────────────
   24. ACCESSIBILITY
   ───────────────────────────────────────────── */

/* Focus ring — keyboard only, never on click */
:where(a, button, input, select, textarea, [role="button"]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Minimum tap targets */
.btn-primary,
.btn-ghost,
.btn-blue,
.btn-blue,
.service-link,
.nav-cta,
.nav-lang {
  min-height: 44px;
}
.btn-ghost { padding-top: 10px; padding-bottom: 10px; }

/* Visited nav/footer links keep brand color */
nav a:visited,
footer a:visited { color: inherit; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ─────────────────────────────────────────────
   25. PAGE COMPONENTS
   Consolidated from per-page <style> blocks
   (Jul 9) so all styling lives in this one
   file. JA variants via html[lang="ja"].
   ───────────────────────────────────────────── */

/* — Home: featured service card (index) — */
.service-card.wide {
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.service-card.wide::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.feat-inner { position: relative; display: flex; align-items: center; gap: 48px; }
.feat-title { flex-shrink: 0; }
.feat-title .service-name { font-size: 40px; margin-bottom: 0; }
.feat-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,0.15); }
.feat-body { flex: 1; }
.feat-body .service-desc { flex: none; margin-bottom: 20px; font-size: 15px; max-width: 560px; }
@media (max-width: 760px) {
  .feat-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .feat-divider { display: none; }
  .service-card.wide { padding: 40px 24px; } /* symmetric gutters on mobile */
}

/* — NYLA (nyla-en / nyla-ja) — */
.nyla-badge-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px var(--sp-2xl);
  display: flex; justify-content: center; align-items: center;
}
.nyla-badge-img { height: 84px; width: auto; display: block; }
.nyla-panel {
  max-width: 920px; display: grid; grid-template-columns: 200px 1fr;
  gap: 36px; align-items: start; background: var(--bg); border: 1px solid var(--rule);
  padding: 32px;
}
.nyla-panel img { width: 200px; height: 266px; object-fit: cover; object-position: center top; display: block; }
.nyla-panel h3 { font-family: var(--font-d); font-size: 18px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
html[lang="ja"] .nyla-panel h3 { font-family: var(--font-ja-d); }
.nyla-panel p { font-size: 14px; line-height: 1.9; color: var(--body); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .cards-4 { grid-template-columns: 1fr; }
  .nyla-panel { grid-template-columns: 1fr; }
  .nyla-panel img { width: 160px; height: 213px; }
}

/* — Company (company-en / company-ja) — */
.company-table { width: 100%; border-collapse: collapse; max-width: 1000px; }
.company-table tr { border-bottom: 1px solid var(--rule); }
.company-table th {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue);
  text-align: left; padding: 28px 40px 28px 0;
  width: 180px; vertical-align: top; white-space: nowrap;
}
.company-table td {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: var(--navy); padding: 28px 0;
}
html[lang="ja"] .company-table td { font-family: var(--font-ja-b); font-weight: 400; }
.company-table td .label-sm {
  font-size: 13px; color: var(--muted); display: block; margin-top: 4px;
  font-family: var(--font-b); letter-spacing: 0.02em;
}
.staff-grid { display: flex; gap: 0; flex-wrap: wrap; }
.staff-item { padding-right: 48px; margin-right: 48px; border-right: 1px solid var(--rule); }
.staff-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.staff-num { font-family: var(--font-d); font-size: 32px; font-weight: 600; color: var(--blue); line-height: 1; }
.staff-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
html[lang="ja"] .staff-label { letter-spacing: 0.08em; text-transform: none; }
.map-note {
  margin-top: 64px; padding: 36px; background: var(--bg-alt);
  border: 1px solid var(--rule); display: flex; gap: 40px; flex-wrap: wrap;
}
.map-note-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.map-note-address { font-size: 14px; line-height: 1.9; color: var(--body); }
html[lang="ja"] .map-note-address { font-family: var(--font-ja-b); }
@media (max-width: 600px) {
  .company-table th { display: block; width: 100%; padding-bottom: 4px; padding-top: 20px; }
  .company-table td { display: block; padding-top: 4px; padding-bottom: 20px; }
  .company-table tr { border-bottom: none; }
  .company-table { border-top: 1px solid var(--rule); }
  .staff-grid { flex-direction: column; gap: 20px; }
  .staff-item { border-right: none; padding-right: 0; margin-right: 0; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
  .staff-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* — Privacy (privacy-ja) — */
.privacy-content { padding: 48px var(--sp-2xl) 100px; max-width: 860px; }
.privacy-intro { font-size: 15px; line-height: 2; color: var(--body); margin-bottom: 56px; }
.privacy-article { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--rule); }
.privacy-article:last-child { border-bottom: none; margin-bottom: 0; }
.article-heading { font-size: 16px; font-weight: 500; letter-spacing: 0.03em; color: var(--blue); margin-bottom: 16px; }
.article-body { font-size: 14px; line-height: 2.1; color: var(--body); }
.article-list { list-style: none; padding: 0; margin-top: 16px; }
.article-list li { font-size: 14px; line-height: 2; color: var(--body); padding-left: 1.5em; position: relative; margin-bottom: 6px; }
.article-list li::before { content: attr(data-num); position: absolute; left: 0; color: var(--muted); }
.bullet-list { list-style: none; padding: 0; margin-top: 12px; }
.bullet-list li { font-size: 14px; line-height: 2; color: var(--body); padding-left: 1.2em; position: relative; margin-bottom: 4px; }
.bullet-list li::before { content: '・'; position: absolute; left: 0; color: var(--muted); }
.sub-list { list-style: none; padding: 0; margin-top: 8px; margin-left: 1.5em; }
.sub-list li { font-size: 14px; line-height: 2; color: var(--body); padding-left: 2.5em; position: relative; margin-bottom: 4px; }
.sub-list li::before { content: attr(data-label); position: absolute; left: 0; color: var(--muted); }
.contact-link { color: var(--blue); }
.contact-link:hover { color: var(--blue-dk); }
@media (max-width: 900px) { .privacy-content { padding: 40px var(--sp-page-md) 80px; } }
@media (max-width: 600px) {
  .privacy-content { padding: 32px var(--sp-page-sm) 64px; }
  .article-body, .article-list li, .bullet-list li, .sub-list li { font-size: 13px; }
}
