/* ============================================================
   IS Communications — Stripe-inspired Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);

  /* Core palette */
  --ink:       #0a0f1e;
  --ink-2:     #1e2537;
  --ink-3:     #3a4460;
  --muted:     #64748b;
  --subtle:    #94a3b8;
  --line:      rgba(15,23,42,.08);
  --surface:   #f8fafc;
  --white:     #ffffff;

  /* Accent */
  --indigo:    #4f46e5;
  --indigo-l:  #6366f1;
  --purple:    #7c3aed;
  --sky:       #0ea5e9;
  --grad:      linear-gradient(135deg, var(--indigo) 0%, var(--purple) 100%);
  --grad-glow: linear-gradient(135deg, #4f46e530 0%, #7c3aed30 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10,15,30,.08), 0 1px 2px rgba(10,15,30,.05);
  --shadow-md: 0 4px 16px rgba(10,15,30,.10), 0 2px 6px rgba(10,15,30,.06);
  --shadow-lg: 0 12px 40px rgba(10,15,30,.14), 0 4px 12px rgba(10,15,30,.08);
  --shadow-xl: 0 24px 64px rgba(10,15,30,.18), 0 8px 24px rgba(10,15,30,.10);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
  --t-slow: 480ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Header ────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  font-family: 'DM Mono', monospace;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--indigo);
  background: rgba(79,70,229,.07);
  font-weight: 700;
}

/* CTA buttons in nav */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

.nav-toggle:hover { background: var(--surface); }

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: flex;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px var(--pad);
  flex-direction: column;
  gap: 8px;
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), visibility 0s var(--t-base);
}

.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), visibility 0s;
}

.nav-drawer a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-3);
  border: 1px solid transparent;
  transition: all var(--t-fast);
}

.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--indigo);
  background: rgba(79,70,229,.06);
  border-color: rgba(79,70,229,.12);
}

.nav-drawer .drawer-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-ghost {
  color: var(--ink-3);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: rgba(15,23,42,.15);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(79,70,229,.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,.45);
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-lg {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: var(--r-md);
}

.btn-full { width: 100%; }

/* ── Hero ──────────────────────────────────────────────── */
.hero-section {
  padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 8vh, 80px);
  position: relative;
  overflow: hidden;
}

/* Background mesh gradient */
.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.16);
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-note {
  font-size: 12px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-note::before {
  content: '✓';
  color: var(--indigo);
  font-weight: 800;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}

.hero-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(99,102,241,.06) 100%);
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.hero-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ── Section base ──────────────────────────────────────── */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section-alt {
  background: var(--surface);
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
  font-family: 'DM Mono', monospace;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ── Cards ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,70,229,.15);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

/* ── Info box (kv equivalent) ──────────────────────────── */
.infobox {
  background: linear-gradient(135deg, rgba(79,70,229,.04) 0%, rgba(124,58,237,.04) 100%);
  border: 1px solid rgba(79,70,229,.12);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  margin-top: 48px;
}

.infobox-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.infobox-body {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.infobox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.infobox-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.infobox-list-item::before {
  content: '→';
  color: var(--indigo);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.infobox-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Process steps ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 40px;
  position: relative;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 20px;
  position: relative;
}

.step:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.step:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }

.step-num {
  font-size: 11px;
  font-weight: 800;
  font-family: 'DM Mono', monospace;
  color: var(--indigo);
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Table ─────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: none;
}

.data-table th {
  width: 180px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--surface);
  font-family: 'DM Mono', monospace;
  letter-spacing: .02em;
}

.data-table td {
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
}

/* ── MVV cards ─────────────────────────────────────────── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.mvv-card {
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.mvv-card:nth-child(1) {
  background: var(--grad);
  color: var(--white);
}

.mvv-card:nth-child(2) {
  background: var(--ink);
  color: var(--white);
}

.mvv-card:nth-child(3) {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

.mvv-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'DM Mono', monospace;
  opacity: .6;
  margin-bottom: 16px;
}

.mvv-card:nth-child(3) .mvv-label {
  color: var(--indigo);
  opacity: 1;
}

.mvv-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.01em;
}

.mvv-card:nth-child(3) h3 {
  color: var(--ink-3);
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

.values-list li::before {
  content: '◆';
  color: var(--indigo);
  font-size: 8px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-info p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  transition: all var(--t-fast);
  margin-bottom: 12px;
}

.contact-method:hover {
  border-color: rgba(79,70,229,.2);
  box-shadow: var(--shadow-sm);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(79,70,229,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-method-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-method-text span {
  font-size: 12px;
  color: var(--muted);
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-form-box iframe {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(99,102,241,.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-hero .lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255,255,255,.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .7;
}

.footer-brand-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: rgba(255,255,255,.8);
}

.footer-copy {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
}

/* ── Scroll animations ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 80ms; }
.fade-up-delay-2 { transition-delay: 160ms; }
.fade-up-delay-3 { transition-delay: 240ms; }
.fade-up-delay-4 { transition-delay: 320ms; }

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 100ms; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 200ms; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 300ms; }

/* ── Utilities ─────────────────────────────────────────── */
.text-muted { color: var(--muted); }
.text-small { font-size: 13px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .nav-drawer { display: flex; }

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

  .hero-visual { order: -1; }

  .hero-badge { display: none; }

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

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

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

  .step:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
  .step:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  .step:nth-child(3) { border-radius: 0 0 0 var(--r-lg); }
  .step:nth-child(4) { border-radius: 0 0 var(--r-lg) 0; }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .data-table th { width: 120px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .infobox-actions { flex-direction: column; }
  .infobox-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .step:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .step:not(:first-child):not(:last-child) { border-radius: 0; }
}

/* =========================================================
   Mobile-first Stabilizer Patch (Stripe-ish, no break)
   ========================================================= */

/* 横スクロールの元を封鎖 */
html, body { overflow-x: hidden; }

/* はみ出しやすい要素の保険 */
img, svg, video, canvas, iframe { max-width: 100%; height: auto; display: block; }

/* 長いURL/英数字のはみ出し対策 */
p, li, a, h1, h2, h3, h4 { overflow-wrap: anywhere; word-break: break-word; }

/* containerが固定幅っぽくなってる時の保険 */
.container { width: 100%; }

/* ===== ヘッダー：スマホは折りたたみ前提 ===== */
.nav-toggle{
  display:none;
  border:1px solid var(--border, rgba(0,0,0,.12));
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  align-items:center;
  gap:8px;
}

@media (max-width: 920px){
  /* ナビの中身を縦に */
  .nav .container{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .nav-toggle{ display: inline-flex; justify-content: center; }

  /* 初期は閉じる */
  .nav-left, .cta{ display:none; width:100%; }

  /* 開いたときだけ表示 */
  .nav.open .nav-left,
  .nav.open .cta{
    display:block;
  }

  /* メニュー項目はフル幅ボタン */
  .nav-left a{
    display:block;
    width:100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border, rgba(0,0,0,.12));
    background: rgba(255,255,255,.75);
    margin: 8px 0;
  }

  /* CTAも縦並び、全幅 */
  .cta{ display:none; }
  .nav.open .cta{ display:grid; gap:10px; }
  .cta .btn{ width:100%; text-align:center; }

  /* ブランド行を詰める */
  .brand{ padding: 10px 0; }
  .brand img{ height: 34px; }
}

/* ===== ヒーロー：スマホは縦積みで安定 ===== */
@media (max-width: 920px){
  .hero{
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding-top: 12px;
  }
  .hero h1{
    font-size: 30px;
    line-height: 1.18;
    margin-bottom: 8px;
  }
  .lead{
    font-size: 15px;
    line-height: 1.85;
  }

  /* ボタンはフル幅に */
  .hero .btn{
    width: 100%;
    text-align: center;
  }
  .hero > div:first-child > div{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* 画像は高さ暴れを抑える */
  .hero-img img{
    aspect-ratio: 16/9;
    object-fit: cover;
    max-height: 240px;
  }
}

/* ===== カード：スマホは1カラム固定で読みやすく ===== */
@media (max-width: 920px){
  .cards{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .section{
    padding: 26px 0 !important;
  }
  .section h2{
    font-size: 22px;
    line-height: 1.25;
  }
}

/* ===== 背景オーラ/ぼかしが重い or ズレる時の保険 ===== */
@media (max-width: 920px){
  main.container::before{
    filter: none !important;
    opacity: .85;
  }
}

/* ===== iframe（問い合わせフォーム）崩れ防止 ===== */
@media (max-width: 920px){
  iframe{ width: 100% !important; }
}

/* ===== Clean Hamburger (Stripe-like) ===== */

.nav-toggle{
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  border-radius: 12px;

  width: 40px;
  height: 40px;
  padding: 0;

  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  position: relative;
  z-index: 2000;
}

/* 線のコンテナ（中央寄せ用） */
.nav-toggle span{
  position: absolute;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}

/* ←ここが重要：間隔を詰める */
.nav-toggle span:nth-child(1){
  top: 13px;
}
.nav-toggle span:nth-child(2){
  top: 19px;
}
.nav-toggle span:nth-child(3){
  top: 25px;
}

/* スマホで表示 */
@media (max-width: 920px){
  .nav-toggle{
    display: inline-flex;
  }
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){
  transform: translateX(-50%) rotate(45deg);
  top: 19px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3){
  transform: translateX(-50%) rotate(-45deg);
  top: 19px;
}

@media (max-width:768px){
  .card img{
    height:160px;
    object-fit:cover;
  }
}

/* ===== Case Studies / Flow Add-on ===== */

.section-tight { padding-top: 48px; padding-bottom: 48px; }

/* --- Case Study card --- */
.case-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 10px 0 12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  font-size: 12px;
  color: var(--muted);
}
.pill strong{ color: var(--ink); font-weight: 700; }

.case-kpis{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}
.kpi{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.70);
  border-radius: 14px;
  padding: 10px 12px;
}
.kpi .kpi-label{ font-size: 11px; color: var(--muted); }
.kpi .kpi-value{ font-size: 14px; font-weight: 800; color: var(--ink); margin-top: 2px; }

@media (max-width: 920px){
  .case-kpis{ grid-template-columns: 1fr; }
}

/* --- Flow (Steps) --- */
.flow-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.flow-step{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 16px;
  position: relative;
}
.flow-step .num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(99,91,255,1), rgba(0,212,255,.85));
  box-shadow: 0 10px 26px rgba(99,91,255,.18);
  margin-bottom: 10px;
}
.flow-step h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.flow-step p{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

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

/* --- Small CTA row --- */
.inline-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ===== Footer gap fix ===== */

/* ページ全体を縦flexにする */
html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* main が余白を吸収 */
main {
  flex: 1;
}

/* footer の余計な伸びを防止 */
footer {
  margin-top: auto;
}

/* footer内部の謎隙間防止 */
.footer-inner {
  align-items: center; /* stretch防止 */
}

/* ===== Footer bottom whitespace fix ===== */

/* まずデフォルト余白を完全に殺す */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* iPhoneのセーフエリア系で余白が出てるケースも潰す */
body {
  padding-bottom: 0 !important;
}

/* footer自体の下余白を強制ゼロ */
footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* footer内の最後の要素の余白が出てる場合の保険 */
footer *:last-child {
  margin-bottom: 0 !important;
}

main {
  padding-bottom: 0 !important;
}

/* ===== Footer bottom blank space killer ===== */

/* まず土台の余白をゼロに固定 */
html, body{
  margin: 0 !important;
  padding: 0 !important;
}

/* bodyに変な下paddingが乗ってたら殺す */
body{
  padding-bottom: 0 !important;
}

/* footer自体の下余白を強制ゼロ */
footer{
  margin: 0 !important;
  padding-bottom: 0 !important;
}

/* footerの疑似要素が高さを持ってるケースを殺す */
footer::before,
footer::after{
  content: none !important;
  display: none !important;
}

/* footer直後に謎のブロックがいるケースの保険（空要素の余白殺し） */
footer + *{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ついでに“常に下に張り付く”安定化（ページが短い時） */
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main{ flex: 1 0 auto; }
footer{ flex-shrink: 0; }

/* ===== Footer Logo Fix ===== */

.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ロゴサイズ固定（ここが重要） */
.footer-brand img{
  height: 28px;      /* ← Stripe系の黄金サイズ */
  width: auto;
  display: block;
  object-fit: contain;
}

/* テキスト位置微調整 */
.footer-brand-name{
  font-size: 13px;
  line-height: 1;
  color: rgba(255,255,255,.85);
}

/* スマホ微調整 */
@media (max-width: 920px){
  .footer-brand img{
    height: 24px;
  }
}

/* ===== Fix footer logo color ===== */

.footer-brand img{
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.footer-brand img{
  height: 26px;
  filter: brightness(1.15);
}

.lp-sample-section {
  padding: 70px 20px;
  background: #f7f9fc;
  text-align: center;
}

.lp-sample-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.lp-sample-lead {
  color: #555;
  margin-bottom: 45px;
}

.lp-sample-grid {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
}

/* カード全体リンク */
.lp-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-width: 420px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

.lp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.lp-image img {
  width: 100%;
  display: block;
}

.lp-card h3 {
  padding: 20px 20px 10px;
}

.lp-card p {
  padding: 0 20px;
  color: #555;
}

.lp-tags {
  padding: 0 20px 10px;
}

.lp-tags span {
  display: inline-block;
  background: #eef3f8;
  color: #333;
  font-size: 12px;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 20px;
}

.lp-button {
  margin: 20px;
  padding: 12px 22px;
  background: #0073aa;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
}

/* ============================================================
   IS Communications — 改修追加CSS
   既存の style.css の末尾に追記
   namespace: .lp-section-* で既存スタイルと衝突しません
   ============================================================ */

:root {
  --lp-accent: #1a56db;
  --lp-accent-dark: #1242b0;
  --lp-accent-light: #e8efff;
  --lp-text: #1a1a2e;
  --lp-text-muted: #555572;
  --lp-border: #e2e8f0;
  --lp-bg-light: #f8faff;
  --lp-bg-white: #ffffff;
  --lp-success: #16a34a;
  --lp-radius: 12px;
  --lp-radius-sm: 8px;
  --lp-shadow: 0 4px 24px rgba(26,86,219,0.08);
  --lp-shadow-hover: 0 8px 40px rgba(26,86,219,0.16);
}

.lp-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lp-accent);
  background: var(--lp-accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.lp-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--lp-text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.lp-section-sub {
  font-size: 1rem;
  color: var(--lp-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ── SECTION A: LP制作特化 ── */
.lp-section-feature { background: var(--lp-bg-light); border-top: 3px solid var(--lp-accent); }
.lp-section-feature__inner { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }

.lp-feature-pain {
  background: var(--lp-bg-white);
  border: 1px solid var(--lp-border);
  border-left: 4px solid var(--lp-accent);
  border-radius: var(--lp-radius-sm);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.lp-feature-pain__title { font-size: 1rem; font-weight: 700; color: var(--lp-text); margin-bottom: 14px; }
.lp-feature-pain__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-feature-pain__list li { font-size: 0.95rem; color: var(--lp-text-muted); padding-left: 24px; position: relative; line-height: 1.6; }
.lp-feature-pain__list li::before { content: "□"; position: absolute; left: 0; color: var(--lp-accent); font-weight: 700; }
.lp-feature-pain__answer { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--lp-border); font-size: 0.95rem; color: var(--lp-text); line-height: 1.7; }
.lp-feature-pain__answer strong { color: var(--lp-accent); }

.lp-feature-strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.lp-feature-strength-card {
  background: var(--lp-bg-white);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.lp-feature-strength-card:hover { box-shadow: var(--lp-shadow-hover); transform: translateY(-3px); }
.lp-feature-strength-card__num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--lp-accent); margin-bottom: 10px; }
.lp-feature-strength-card__title { font-size: 1rem; font-weight: 700; color: var(--lp-text); margin-bottom: 10px; line-height: 1.5; }
.lp-feature-strength-card__body { font-size: 0.875rem; color: var(--lp-text-muted); line-height: 1.75; }

/* ── SECTION B: サンプルギャラリー ── */
.lp-section-samples { background: var(--lp-bg-white); }
.lp-section-samples__inner { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }

.lp-samples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 32px; }
.lp-sample-card {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  overflow: hidden;
  background: var(--lp-bg-white);
  box-shadow: var(--lp-shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.lp-sample-card:hover { box-shadow: var(--lp-shadow-hover); transform: translateY(-4px); }
.lp-sample-card__thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8efff 0%, #c7d9ff 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.lp-sample-card__thumb-label {
  font-size: 0.8rem; font-weight: 700; color: var(--lp-accent);
  background: rgba(255,255,255,0.9); padding: 6px 14px; border-radius: 20px;
  letter-spacing: 0.05em; position: relative; z-index: 1;
}
.lp-sample-card__thumb-deco {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(26,86,219,0.04) 20px, rgba(26,86,219,0.04) 40px);
}
.lp-sample-card__body { padding: 24px; }
.lp-sample-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lp-sample-card__tag { font-size: 11px; font-weight: 600; color: var(--lp-accent); background: var(--lp-accent-light); padding: 3px 10px; border-radius: 20px; }
.lp-sample-card__title { font-size: 1.05rem; font-weight: 800; color: var(--lp-text); margin-bottom: 8px; line-height: 1.4; }
.lp-sample-card__desc { font-size: 0.875rem; color: var(--lp-text-muted); line-height: 1.7; margin-bottom: 16px; }
.lp-sample-card__intent { background: var(--lp-bg-light); border-radius: var(--lp-radius-sm); padding: 14px 16px; font-size: 0.8rem; color: var(--lp-text-muted); line-height: 1.7; margin-bottom: 16px; }
.lp-sample-card__intent strong { display: block; color: var(--lp-text); font-weight: 700; margin-bottom: 4px; font-size: 0.8rem; }
.lp-sample-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 700; color: var(--lp-accent); text-decoration: none; }
.lp-sample-card__link::after { content: "→"; transition: transform 0.2s; }
.lp-sample-card:hover .lp-sample-card__link::after { transform: translateX(4px); }
.lp-samples-note { text-align: center; font-size: 0.875rem; color: var(--lp-text-muted); padding: 20px; background: var(--lp-bg-light); border-radius: var(--lp-radius-sm); }

/* ── SECTION C: 料金 ── */
.lp-section-price { background: var(--lp-bg-light); }
.lp-section-price__inner { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }

.lp-price-card { background: var(--lp-bg-white); border: 2px solid var(--lp-accent); border-radius: var(--lp-radius); overflow: hidden; box-shadow: var(--lp-shadow); max-width: 680px; margin: 0 auto 40px; }
.lp-price-card__head { background: var(--lp-accent); color: #fff; padding: 20px 32px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.lp-price-card__name { font-size: 1rem; font-weight: 700; opacity: 0.9; }
.lp-price-card__price { font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; }
.lp-price-card__price span { font-size: 1rem; font-weight: 400; opacity: 0.8; }
.lp-price-card__body { padding: 28px 32px; }
.lp-price-card__note { font-size: 0.8rem; color: var(--lp-text-muted); margin-bottom: 20px; padding: 10px 14px; background: var(--lp-accent-light); border-radius: var(--lp-radius-sm); }
.lp-price-card__includes-title { font-size: 0.875rem; font-weight: 700; color: var(--lp-text); margin-bottom: 12px; }
.lp-price-card__includes { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.lp-price-card__includes li { font-size: 0.9rem; color: var(--lp-text-muted); padding-left: 22px; position: relative; line-height: 1.6; }
.lp-price-card__includes li::before { content: "✓"; position: absolute; left: 0; color: var(--lp-success); font-weight: 700; }
.lp-price-card__divider { border: none; border-top: 1px dashed var(--lp-border); margin: 20px 0; }
.lp-price-card__reason-title { font-size: 0.875rem; font-weight: 700; color: var(--lp-text); margin-bottom: 8px; }
.lp-price-card__reason { font-size: 0.875rem; color: var(--lp-text-muted); line-height: 1.8; }
.lp-price-card__extras-title { font-size: 0.8rem; font-weight: 700; color: var(--lp-text-muted); margin-bottom: 8px; margin-top: 16px; }
.lp-price-card__extras { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-price-card__extras li { font-size: 0.8rem; color: var(--lp-text-muted); padding-left: 16px; position: relative; }
.lp-price-card__extras li::before { content: "・"; position: absolute; left: 0; }

/* ── SECTION D: 信頼・代表メッセージ ── */
.lp-section-trust { background: var(--lp-bg-white); }
.lp-section-trust__inner { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }

.lp-trust-message { background: var(--lp-bg-light); border-radius: var(--lp-radius); padding: 40px; margin-bottom: 60px; border: 1px solid var(--lp-border); position: relative; }
.lp-trust-message::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--lp-accent); border-radius: var(--lp-radius) 0 0 var(--lp-radius); }
.lp-trust-message__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lp-accent); margin-bottom: 16px; }
.lp-trust-message__text { font-size: 0.95rem; color: var(--lp-text-muted); line-height: 2; white-space: pre-line; margin-bottom: 20px; }
.lp-trust-message__sig { font-size: 0.9rem; font-weight: 700; color: var(--lp-text); text-align: right; }

.lp-trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.lp-trust-stat { text-align: center; padding: 28px 16px; background: var(--lp-bg-light); border-radius: var(--lp-radius); border: 1px solid var(--lp-border); }
.lp-trust-stat__num { font-size: 2.2rem; font-weight: 900; color: var(--lp-accent); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.lp-trust-stat__label { font-size: 0.8rem; color: var(--lp-text-muted); line-height: 1.5; }

.lp-trust-process { margin-bottom: 60px; }
.lp-trust-process__title { font-size: 1.1rem; font-weight: 800; color: var(--lp-text); margin-bottom: 24px; }
.lp-trust-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.lp-trust-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: flex-start; padding-bottom: 28px; position: relative; }
.lp-trust-step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; width: 2px; height: calc(100% - 20px); background: var(--lp-border); }
.lp-trust-step__num { width: 48px; height: 48px; border-radius: 50%; background: var(--lp-accent); color: #fff; font-size: 0.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: 0.05em; line-height: 1.3; text-align: center; }
.lp-trust-step__body { padding-top: 10px; }
.lp-trust-step__title { font-size: 0.95rem; font-weight: 800; color: var(--lp-text); margin-bottom: 6px; }
.lp-trust-step__desc { font-size: 0.875rem; color: var(--lp-text-muted); line-height: 1.75; }
.lp-trust-step__badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--lp-success); background: #dcfce7; padding: 2px 8px; border-radius: 20px; margin-left: 8px; }

.lp-trust-faq { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); overflow: hidden; }
.lp-trust-faq-item { padding: 22px 28px; border-bottom: 1px solid var(--lp-border); }
.lp-trust-faq-item:last-child { border-bottom: none; }
.lp-trust-faq-q { font-size: 0.9rem; font-weight: 700; color: var(--lp-text); margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; }
.lp-trust-faq-q::before { content: "Q"; flex-shrink: 0; width: 22px; height: 22px; background: var(--lp-accent); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.lp-trust-faq-a { font-size: 0.875rem; color: var(--lp-text-muted); line-height: 1.8; padding-left: 32px; }

/* ── CTA共通 ── */
.lp-cta-block {
  background: linear-gradient(135deg, #1a3a7a 0%, #1a56db 100%);
  border-radius: var(--lp-radius); padding: 48px 40px; text-align: center;
  margin-top: 48px; box-shadow: 0 8px 40px rgba(26,86,219,0.25);
}
.lp-cta-block__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.lp-cta-block__title { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.lp-cta-block__sub { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 28px; }
.lp-cta-block__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-cta-block__reassure { margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.lp-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--lp-accent); font-size: 0.95rem; font-weight: 800; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; letter-spacing: 0.02em; }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.lp-btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); font-size: 0.9rem; font-weight: 700; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.lp-btn-secondary:hover { background: rgba(255,255,255,0.25); }

.lp-cta-inline { background: var(--lp-accent-light); border: 1px solid rgba(26,86,219,0.2); border-radius: var(--lp-radius-sm); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.lp-cta-inline__text { font-size: 0.9rem; font-weight: 700; color: var(--lp-text); line-height: 1.6; }
.lp-cta-inline__text small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--lp-text-muted); margin-top: 4px; }
.lp-btn-accent { display: inline-flex; align-items: center; gap: 8px; background: var(--lp-accent); color: #fff; font-size: 0.9rem; font-weight: 800; padding: 12px 22px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: background 0.2s, transform 0.2s; }
.lp-btn-accent:hover { background: var(--lp-accent-dark); transform: translateY(-1px); }

/* ── service.html追加 ── */
.lp-service-hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--lp-accent); font-weight: 700; background: var(--lp-accent-light); padding: 8px 16px; border-radius: 20px; margin-bottom: 24px; }
.lp-service-targets { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.lp-service-target-chip { font-size: 0.8rem; font-weight: 600; color: var(--lp-text-muted); background: var(--lp-bg-light); border: 1px solid var(--lp-border); padding: 5px 12px; border-radius: 20px; }

/* ── contact.html追加 ── */
.lp-contact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; max-width: 600px; }
.lp-contact-option { border: 2px solid var(--lp-border); border-radius: var(--lp-radius); padding: 28px 24px; text-align: center; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: block; background: var(--lp-bg-white); }
.lp-contact-option:hover { border-color: var(--lp-accent); box-shadow: var(--lp-shadow-hover); transform: translateY(-3px); }
.lp-contact-option__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.lp-contact-option__title { font-size: 0.95rem; font-weight: 800; color: var(--lp-text); margin-bottom: 6px; }
.lp-contact-option__detail { font-size: 0.875rem; color: var(--lp-accent); font-weight: 700; margin-bottom: 8px; }
.lp-contact-option__note { font-size: 0.775rem; color: var(--lp-text-muted); line-height: 1.6; }
.lp-contact-promise { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--lp-bg-light); border-radius: var(--lp-radius); margin: 24px 0; max-width: 600px; }
.lp-contact-promise__item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--lp-text-muted); line-height: 1.6; }
.lp-contact-promise__item::before { content: "✓"; color: var(--lp-success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .lp-section-feature__inner, .lp-section-samples__inner,
  .lp-section-price__inner, .lp-section-trust__inner { padding: 56px 16px; }
  .lp-feature-strengths { grid-template-columns: 1fr; }
  .lp-samples-grid { grid-template-columns: 1fr; gap: 20px; }
  .lp-trust-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .lp-trust-stat__num { font-size: 1.6rem; }
  .lp-price-card__head { flex-direction: column; gap: 4px; }
  .lp-price-card__body { padding: 20px; }
  .lp-cta-block { padding: 36px 20px; }
  .lp-cta-block__buttons { flex-direction: column; align-items: center; }
  .lp-btn-primary, .lp-btn-secondary { width: 100%; justify-content: center; }
  .lp-cta-inline { flex-direction: column; text-align: center; }
  .lp-btn-accent { width: 100%; justify-content: center; }
  .lp-contact-options { grid-template-columns: 1fr; }
  .lp-trust-message { padding: 28px 24px; }
  .lp-trust-faq-item { padding: 18px 20px; }
  .lp-trust-faq-a { padding-left: 20px; }
}

.map-wrap{
  width: 100%;
  margin-top: 24px;   /* テーブルとの余白 */
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;   /* ← テーブル幅に対して高さ自動調整 */
}

.map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}