:root {
  --navy-dark: #f9fafb;
  --navy-mid: #f1f5f9;
  --navy-soft: #e2e8f0;
  --paper-light: #ffffff;
  --paper-muted: #f1f5f9;
  --text: #1e293b;
  --text-light: #1e293b;
  --text-muted: #64748b;
  --accent: #1e40af;
  --accent-strong: #3b82f6;
  --accent-soft: rgba(30, 64, 175, 0.08);
  --border-soft: rgba(0, 0, 0, 0.10);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: 1100px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(3rem, 6vw, 5rem);
  --transition: 0.35s ease;
  --transition-fast: 0.2s ease;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --bebas: 'Bebas Neue', 'Impact', sans-serif;
  --fs-base: 1rem;
  --fs-lead: 1.125rem;
  --fs-small: 0.875rem;
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 16px 40px rgba(15, 23, 42, 0.12);
  --content-max: 1100px;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic UI",
    "Meiryo",
    sans-serif;
  font-size: var(--fs-base);
  line-height: 1.75;
  background-color: #eff6ff;
  color: var(--text-light);
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}


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

.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  font-weight: 600;
  color: var(--accent);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.site-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(30, 41, 59, 0.80);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: #111827;
  background-color: rgba(0, 0, 0, 0.06);
}

.nav-cta,
a.nav-cta {
  background: linear-gradient(135deg, #1e293b, #111827);
  color: #ffffff;
}

.nav-links a.nav-cta:hover {
  background: linear-gradient(135deg, #1e40af, #1e293b);
  background-color: transparent;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.20);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.04);
  color: #1e293b;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 22px;
  height: 2px;
  background: #374151;
  display: block;
  position: relative;
}

.nav-toggle-bars::after,
.nav-toggle-bars::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #374151;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

/* ── アニメーションキャンバス共通 ── */
#hero-wave-canvas,
.wave-canvas,
.wave-canvas-dark,
#grid-canvas,
.grid-canvas-light,
.grid-canvas-dark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── ヒーローテキスト登場アニメーション ── */
@keyframes hero-heading-in {
  from { opacity: 0; transform: translateX(-52px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hero-rule-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes hero-sub-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-content-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ヒーロー区切り線 ── */
.hero-heading-rule {
  display: block;
  width: 2.8rem;
  height: 2px;
  background: #1e40af;
  margin: 1.1rem 0 1rem;
  transform-origin: left;
}

.hero {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) max(var(--gutter), env(safe-area-inset-left, 0px));
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
}

.hero-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 990px;
  width: 100%;
  padding: clamp(3.2rem, 5.2vw, 5.2rem);
  color: #1e293b;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}


.hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 14vw, 11rem);
  font-weight: 900;
  line-height: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-heading-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: #1e40af;
  letter-spacing: 0.14em;
  margin-top: 0.75em;
  padding-top: 0.7em;
  border-top: 1px solid rgba(30, 64, 175, 0.18);
  width: 100%;
  text-align: center;
}

.hero-heading-line,
.hero-heading-line--nowrap {
  display: block;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  letter-spacing: 0.02em;
  background: linear-gradient(160deg, #0c1529 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-heading-en {
  display: block;
  font-size: clamp(0.6rem, 1.4vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(30, 64, 175, 0.65);
  margin-top: 1em;
  font-family: 'Bebas Neue', sans-serif;
  mix-blend-mode: normal;
}

.hero-heading-line--nowrap {
  width: max-content;
}

.button {
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-primary {
  background: linear-gradient(135deg, #1e293b, #111827);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.button-full {
  width: 100%;
}

.button:hover {
  transform: translateY(-2px);
}

.main-shell {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: clamp(2rem, 4vw, 3rem) max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-bottom: clamp(4rem, 6vw, 6rem);
  background: transparent;
}

main {
  max-width: var(--container);
  margin: 0 auto;
}

.content-shell {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
  background: transparent;
}

.subpage-hero {
  position: relative;
  z-index: 2;
  min-height: 260px;
  padding: clamp(4rem, 8vw, 6rem) max(var(--gutter), env(safe-area-inset-left, 0px))
    clamp(3rem, 6vw, 4rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(30, 64, 175, 0.08), transparent 42%),
    radial-gradient(circle at 82% 4%, rgba(59, 130, 246, 0.05), transparent 44%),
    #f1f5f9;
  background-attachment: scroll;
}

.subpage-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.subpage-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(30, 41, 59, 0.65);
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.14;
  color: #1e293b;
}

.subpage-hero p {
  margin: 0;
  max-width: 46rem;
  color: rgba(30, 41, 59, 0.78);
  font-size: var(--fs-lead);
}

.subpage-panel {
  padding: clamp(2rem, 3vw, 2.6rem);
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.25);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08), 0 8px 32px rgba(0, 0, 0, 0.07);
}

.page-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.22);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(30, 64, 175, 0.04);
  border-color: rgba(30, 64, 175, 0.25);
}

.card-elevated,
.panel-elevated {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.11), 0 10px 32px rgba(0, 0, 0, 0.13);
  border-color: rgba(30, 64, 175, 0.36);
}

.page-card h3,
.story-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #1e293b;
}

.page-card p,
.story-item p,
.contact-block p {
  margin: 0;
  color: rgba(30, 41, 59, 0.58);
}

.story-item p strong {
  color: #1e293b;
  font-weight: 700;
}

.price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent, #0ea5e9);
  margin: 0.25rem 0 0.75rem !important;
}

.story-list {
  display: grid;
  gap: 1rem;
}

.story-item {
  padding: 20px 24px;
  border-left: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(180deg, #1e40af, #3b82f6) border-box;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-top: 1px solid rgba(30, 64, 175, 0.09);
  border-right: 1px solid rgba(30, 64, 175, 0.09);
  border-bottom: 1px solid rgba(30, 64, 175, 0.09);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.05), 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.story-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(30, 64, 175, 0.12), 0 16px 40px rgba(0, 0, 0, 0.06);
}

.story-result {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  color: rgba(30, 41, 59, 0.58);
}

.story-result-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact-block {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.22);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.contact-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(30, 64, 175, 0.04);
  border-color: rgba(30, 64, 175, 0.25);
}

.contact-block + .contact-block {
  margin-top: 1rem;
}

.section {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section:last-of-type {
  border-bottom: none;
}

.section-head {
  margin-bottom: 2rem;
}

.section-eyebrow {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: rgba(30, 41, 59, 0.50);
}

.section-eyebrow-en {
  color: var(--accent);
  font-family: var(--bebas);
  font-size: 1rem;
  letter-spacing: 0.44em;
  font-weight: 400;
}

.section-eyebrow-ja {
  color: rgba(30, 41, 59, 0.80);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-eyebrow-div {
  color: rgba(0, 0, 0, 0.15);
}


.section-head h2 {
  margin: 0.4rem 0 0.5rem;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-light);
  padding-bottom: 0.45em;
  border-bottom: none;
  position: relative;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, #1e40af, #3b82f6);
  border-radius: 3px;
}

.section-lead {
  margin: 0;
  color: rgba(30, 41, 59, 0.58);
  max-width: 640px;
}

.section-sublead {
  margin: 0;
  font-size: 1rem;
  color: rgba(30, 41, 59, 0.58);
  max-width: 640px;
}

.section-diff-tag {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1e40af;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.panel {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.22);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(30, 64, 175, 0.04);
  border-color: rgba(30, 64, 175, 0.25);
}

.panel-soft {
  background: #ffffff;
}

.panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.panel p {
  margin: 0 0 0.75rem;
  color: rgba(30, 41, 59, 0.58);
}

.panel p strong {
  color: #1e293b;
}

.panel-list {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(30, 41, 59, 0.58);
}

.panel-list li + li {
  margin-top: 0.5rem;
}

.section-results {
  background: #f1f5f9;
  color: #1e293b;
  padding: var(--section-gap);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.section-results .section-head {
  color: #1e293b;
}

.section-results .section-lead {
  color: rgba(30, 41, 59, 0.65);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.22);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  min-height: 180px;
}

.stat-value {
  margin: 0;
  font-family: var(--bebas);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.stat-label {
  margin: 0.5rem 0;
  color: rgba(30, 41, 59, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
}

.stat-card p:last-child {
  margin: 0;
  color: rgba(30, 41, 59, 0.65);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

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

.approach-card {
  display: flex;
  gap: 1rem;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.22);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(30, 64, 175, 0.04);
  border-color: rgba(30, 64, 175, 0.25);
}

.approach-index {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--bebas);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
  border: none;
}

.approach-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1e293b;
}

.approach-card p {
  margin: 0.35rem 0 0;
  color: rgba(30, 41, 59, 0.58);
  font-size: 1rem;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.22);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(30, 64, 175, 0.04);
  border-color: rgba(30, 64, 175, 0.25);
}

.service-row .step-index {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--bebas);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
  border: none;
}

.service-copy h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: #1e293b;
}

.service-copy p {
  margin: 0;
  color: rgba(30, 41, 59, 0.58);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.profile-main {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.22);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.profile-main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
}

.profile-photo-wrap {
  flex-shrink: 0;
}

.profile-photo {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
  display: block;
}

.profile-main h3 {
  color: #1e293b;
}

.profile-text p {
  margin: 0;
  color: rgba(30, 41, 59, 0.72);
}

.profile-text p + p {
  margin-top: 1rem;
}

.profile-main p {
  margin: 0;
  color: rgba(30, 41, 59, 0.72);
}

.profile-main p + p {
  margin-top: 1rem;
}

.profile-side {
  display: grid;
  gap: 16px;
}

.mini-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.22);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.mini-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #1e293b;
}

.mini-card p {
  margin: 0;
  color: rgba(30, 41, 59, 0.58);
  font-size: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-light);
  margin-top: 1.5rem;
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.contact-copy h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #ffffff;
}

.contact-copy p {
  color: rgba(30, 41, 59, 0.65);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 32px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.22);
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-mail {
  margin: 0;
  font-weight: 600;
  text-align: center;
}

.trust-signals {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trust-signal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(30, 41, 59, 0.58);
}

.trust-signal::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.text-link--on-light {
  color: var(--accent);
}


.footer {
  position: relative;
  z-index: 3;
  margin-top: 2rem;
  padding: 2rem max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(30, 41, 59, 0.65);
  background: var(--navy-soft);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
}

.footer p:first-child {
  color: rgba(30, 41, 59, 0.80);
  font-weight: 600;
}

/* ── お問い合わせフォーム ────────────── */
.contact-form-wrap {
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto 0;
  border-radius: 8px;
  overflow: hidden;
}

/* ── 成果報酬バナー ──────────────────── */
.success-fee-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 14px 20px;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(135deg, rgba(30,64,175,0.07) 0%, rgba(59,130,246,0.04) 100%);
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-left: 3px solid #1e40af;
  flex-wrap: wrap;
}

.success-fee-banner--top {
  max-width: var(--content-max);
  margin: 0 auto 2rem;
  padding: 14px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-left: 3px solid #1e40af;
  background: linear-gradient(135deg, rgba(30,64,175,0.07) 0%, rgba(59,130,246,0.04) 100%);
}

.success-fee-label {
  font-family: var(--bebas);
  font-size: 0.75rem;
  letter-spacing: 0.38em;
  font-weight: 400;
  color: #1e40af;
  white-space: nowrap;
  text-transform: uppercase;
}

.success-fee-text {
  font-size: 0.9rem;
  color: rgba(30, 41, 59, 0.75);
}

/* ── 料金ROI注記 ─────────────────────── */
.pricing-roi-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--accent);
  background: rgba(30, 64, 175, 0.08);
  border-left: 3px solid var(--accent);
  padding: 8px 14px;
  border-radius: 0 4px 4px 0;
  text-align: left;
}

/* ── 業種カード ───────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.industry-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.22);
  border-left: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(30, 64, 175, 0.35);
  border-left-color: var(--accent-strong);
}

.industry-card-label {
  margin: 0 0 0.4rem;
  font-family: var(--bebas);
  font-size: 0.875rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

.industry-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.industry-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(30, 41, 59, 0.58);
}

.industry-card li + li {
  margin-top: 0.5rem;
}

/* ── FAQ ─────────────────────────────── */
#faq .section-head {
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.22);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.07), 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #1e293b;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] {
  border-color: rgba(30, 64, 175, 0.35);
}

.faq-item[open] summary {
  color: var(--accent);
  background: linear-gradient(90deg, rgba(30, 64, 175, 0.05) 0%, transparent 100%);
}

.faq-a {
  margin: 0;
  padding: 16px 24px;
  color: rgba(30, 41, 59, 0.58);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

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

  .site-nav.is-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0 0;
  }

  .section-results {
    border-radius: var(--radius-lg);
  }

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

  .profile-main {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    aspect-ratio: 1 / 1;
    width: 55%;
    max-width: 220px;
    margin: 0 auto;
    object-position: center center;
  }

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

  .hero h1 {
    font-size: clamp(2rem, 5.6vw, 2.8rem);
  }

}


@media (max-width: 768px) {
  .page-grid,
  .approach-grid--2col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 2rem 0;
    gap: 0.85rem;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 7rem);
  }

  .hero-heading-line,
  .hero-heading-line--nowrap {
    width: 100%;
    white-space: normal;
  }

  .hero-heading-en {
    font-size: clamp(0.55rem, 1.8vw, 0.75rem);
    letter-spacing: 0.18em;
  }

}

@media (max-width: 640px) {
  .main-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .approach-grid,
  .approach-grid--2col,
  .stat-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 1.5rem 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 5rem);
    line-height: 1.05;
  }

}

/* ── 480px以下：極小スマートフォン向け ───────────── */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
  }

  .hero-heading-en {
    display: none;
  }

  .section-head h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.55rem);
  }

  .button {
    padding: 0.65rem 1.4rem;
    font-size: 0.875rem;
  }

  .subpage-hero h1 {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }
}

/* ════════════════════════════════════════════════════
   Swipe LP  (index.html の is-swipe-lp クラス専用)
   ════════════════════════════════════════════════════ */

/* ── ページ固定 ── */
.is-swipe-lp,
.is-swipe-lp body {
  height: 100%;
  overflow: hidden;
}

/* ── ナビを fixed に昇格 ── */
.is-swipe-lp .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
}

/* ── スクロールコンテナ（swipeLP有効時のみ固定） ── */
.is-swipe-lp .swipe-container {
  position: fixed;
  inset: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  z-index: 5;
  scrollbar-width: none;
}

.is-swipe-lp .swipe-container::-webkit-scrollbar {
  display: none;
}

/* ── コンテナ：canvasより後に描画させるためz-index:3（content-shell準拠） ── */
.swipe-container {
  position: relative;
  z-index: 3;
}

/* ── スライド基本 ── */
.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* swipeLP有効時：全画面スナップ */
.is-swipe-lp .slide {
  height: 100vh;
  scroll-snap-align: start;
  justify-content: center;
  overflow: hidden;
}

/* Hero スライド：canvas が透けて見える・常に全画面 */
.slide--hero {
  height: 100vh;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 35%, #dbeafe 75%, #bfdbfe 100%);
}

/* コンテンツスライド：透明（セクション背景を干渉させない） */
.slide--content {
  background: transparent;
}

/* ── スライド2（課題共感）：ヒーローと背景統一 ── */
#pain-points {
  background: linear-gradient(160deg, #ffffff 0%, #eff6ff 45%, #dbeafe 100%);
}

#pain-points .panel {
  border-top: 3px solid #3b82f6;
  border-left: none;
  border-right: none;
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(30, 64, 175, 0.10), 0 4px 24px rgba(0, 0, 0, 0.06);
}

#pain-points .panel p,
#pain-points .panel-list {
  color: #374151;
}

#pain-points .panel h3 {
  color: #1e3a8a;
}

/* ── スライド3（Solutions）・スライド4（Why）：ダークネイビー ── */
#services,
#company {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #1e293b 100%);
  position: relative;
}

#services .section-head h2,
#company .section-head h2 {
  color: #f1f5f9;
}

#services .section-head h2::after,
#company .section-head h2::after {
  background: rgba(96, 165, 250, 0.6);
}

#services .section-eyebrow-en,
#company .section-eyebrow-en {
  color: rgba(147, 197, 253, 0.8);
}

#services .section-lead,
#company .section-lead,
#services p,
#company p {
  color: #cbd5e1;
}

#services .text-link,
#company .text-link {
  color: #93c5fd;
}

#services .solutions-col-head,
#company .solutions-col-head {
  color: rgba(147, 197, 253, 0.7);
}

#services .step-index,
#company .step-index {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.3);
}

#services .service-copy h3,
#company .service-copy h3 {
  color: #f1f5f9;
}

#services .service-row {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

#services .approach-card,
#company .approach-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

#services .approach-card h3,
#company .approach-card h3 {
  color: #f1f5f9;
}

#services .approach-card p,
#company .approach-card p {
  color: #94a3b8;
}

#services .approach-index,
#company .approach-index {
  color: rgba(96, 165, 250, 0.6);
}

#company .trust-stats {
  grid-template-columns: repeat(2, 1fr);
}
#company .trust-stat {
  padding: 20px 16px;
}
#company .trust-stat-num {
  color: #f1f5f9;
  font-size: clamp(2.8rem, 6vw, 3.9rem);
}
#company .trust-stat-num small {
  font-size: 1rem;
  -webkit-text-fill-color: #f1f5f9;
}
#company .trust-stat-label {
  color: #94a3b8;
}

#company .trust-profile-text {
  color: #cbd5e1;
}

#company .trust-profile-text strong {
  color: #93c5fd;
}

#company .story-item {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
}

#company .story-item h3 {
  color: #f1f5f9;
}

#company .story-result {
  color: #94a3b8;
}

#company .story-result-label {
  color: rgba(147, 197, 253, 0.7);
}

#company .section-diff-tag {
  color: #93c5fd;
}

/* コンタクトスライド：ダークネイビーでメリハリ */
.slide--contact {
  background: #1e293b;
}

/* ── 汎用ライト背景スライド ── */
.slide--bg-light-wave,
.slide--bg-light-grid {
  background: linear-gradient(160deg, #ffffff 0%, #eff6ff 45%, #dbeafe 100%);
  position: relative;
}

/* ── 汎用ダーク背景スライド ── */
.slide--bg-dark-wave,
.slide--bg-dark-grid {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #1e293b 100%);
  position: relative;
}

/* ダーク: セクション見出し */
.slide--bg-dark-wave .section-head h2,
.slide--bg-dark-grid .section-head h2 { color: #f1f5f9; }

.slide--bg-dark-wave .section-head h2::after,
.slide--bg-dark-grid .section-head h2::after { background: rgba(96,165,250,0.6); }

.slide--bg-dark-wave .section-eyebrow-en,
.slide--bg-dark-grid .section-eyebrow-en { color: rgba(147,197,253,0.8); }

.slide.slide--bg-dark-wave .section-lead,
.slide.slide--bg-dark-grid .section-lead { color: #cbd5e1; }

/* ダーク: プロフィールテキスト */
.slide--bg-dark-wave .profile-text p,
.slide--bg-dark-grid .profile-text p { color: #cbd5e1; }

.slide--bg-dark-wave .profile-text p strong,
.slide--bg-dark-grid .profile-text p strong { color: #93c5fd; }

/* ダーク: ページヘッダー */
.slide--bg-dark-wave .slide-page-heading,
.slide--bg-dark-grid .slide-page-heading { color: #f1f5f9; }

.slide--bg-dark-wave .slide-page-kicker,
.slide--bg-dark-grid .slide-page-kicker { color: rgba(147,197,253,0.8); }

.slide--bg-dark-wave .slide-page-lead,
.slide--bg-dark-grid .slide-page-lead { color: #cbd5e1; }

/* ダーク: カード系（.slide と結合して優先度を上げる） */
.slide.slide--bg-dark-wave .page-card,
.slide.slide--bg-dark-grid .page-card,
.slide.slide--bg-dark-wave .mini-card,
.slide.slide--bg-dark-grid .mini-card {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.slide--bg-dark-wave .page-card h3,
.slide--bg-dark-grid .page-card h3,
.slide--bg-dark-wave .mini-card h3,
.slide--bg-dark-grid .mini-card h3 { color: #f1f5f9; }

.slide--bg-dark-wave .page-card p,
.slide--bg-dark-grid .page-card p,
.slide--bg-dark-wave .mini-card p,
.slide--bg-dark-grid .mini-card p,
.slide--bg-dark-wave .panel-list li,
.slide--bg-dark-grid .panel-list li { color: #cbd5e1; }

.slide--bg-dark-wave .price-amount,
.slide--bg-dark-grid .price-amount { color: #93c5fd; }

/* ダーク: パネル */
.slide.slide--bg-dark-wave .panel,
.slide.slide--bg-dark-grid .panel {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  border-top-color: rgba(96,165,250,0.6);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.slide--bg-dark-wave .panel h3,
.slide--bg-dark-grid .panel h3 { color: #f1f5f9; }

.slide--bg-dark-wave .panel p,
.slide--bg-dark-grid .panel p { color: #cbd5e1; }

/* ダーク: ストーリーアイテム（.slide と結合して優先度を上げる） */
.slide.slide--bg-dark-wave .story-item,
.slide.slide--bg-dark-grid .story-item {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}

.slide--bg-dark-wave .story-item h3,
.slide--bg-dark-grid .story-item h3 { color: #f1f5f9; }

.slide--bg-dark-wave .story-item p,
.slide--bg-dark-grid .story-item p { color: #cbd5e1; }

.slide--bg-dark-wave .story-item p strong,
.slide--bg-dark-grid .story-item p strong { color: #93c5fd; }

/* ダーク: 数値カード（.slide と結合して優先度を上げる） */
.slide.slide--bg-dark-wave .stat-card,
.slide.slide--bg-dark-grid .stat-card {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.slide--bg-dark-wave .stat-label,
.slide--bg-dark-grid .stat-label { color: rgba(147,197,253,0.8); }

.slide--bg-dark-wave .stat-card p:last-child,
.slide--bg-dark-grid .stat-card p:last-child { color: #cbd5e1; }

/* ダーク: 成果報酬バナー */
.slide--bg-dark-wave .success-fee-banner,
.slide--bg-dark-grid .success-fee-banner {
  background: rgba(255,255,255,0.08);
  border-color: rgba(96,165,250,0.4);
}

.slide--bg-dark-wave .success-fee-label,
.slide--bg-dark-grid .success-fee-label { color: #93c5fd; }

.slide.slide--bg-dark-wave .success-fee-text,
.slide.slide--bg-dark-grid .success-fee-text { color: #94a3b8; }

/* ダーク: CTAバー */
.slide--bg-dark-wave .slide-cta-bar,
.slide--bg-dark-grid .slide-cta-bar {
  border-top-color: rgba(255,255,255,0.15);
}

.slide--bg-dark-wave .slide-cta-bar-label,
.slide--bg-dark-grid .slide-cta-bar-label { color: rgba(147,197,253,0.9); }

.slide--bg-dark-wave .slide-cta-bar-message,
.slide--bg-dark-grid .slide-cta-bar-message { color: #f1f5f9; }

.slide--bg-dark-wave .slide-footer-inline,
.slide--bg-dark-grid .slide-footer-inline {
  background: rgba(255,255,255,0.06);
  border-top: 2px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.slide--bg-dark-wave .slide-footer-inline p,
.slide--bg-dark-grid .slide-footer-inline p { color: rgba(203,213,225,0.65); }

/* ── スライド内ラッパー ── */
.slide-inner {
  width: 100%;
  max-width: var(--container);
  padding: 72px max(var(--gutter), 1.25rem) clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* swipeLP有効時：高さ埋め・中央寄せ・内部スクロール可 */
.is-swipe-lp .slide-inner {
  height: 100%;
  justify-content: center;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 1.5rem;
}

.is-swipe-lp .slide-inner::-webkit-scrollbar {
  display: none;
}

.slide-inner--contact {
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 2.75rem;
}

/* ── スライド内 section：パディング除去 ── */
.slide .section {
  padding: 0;
  border-bottom: none;
}

/* reveal アニメーション無効化（スワイプLPでは不要） */
.is-swipe-lp .reveal {
  opacity: 1;
  transform: none;
}

/* ── section-head コンパクト化 ── */
.slide .section-head {
  margin-bottom: 0.85rem;
}

.slide .section-head h2 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  margin: 0.2rem 0 0.3rem;
  padding-bottom: 0.3em;
}

/* ── スライド内カード：純白で薄青背景に浮き立たせる ── */
.slide .panel,
.slide .approach-card,
.slide .industry-card,
.slide .service-row,
.slide .story-item,
.slide .faq-item,
.slide .trust-stat,
.slide .page-card,
.slide .stat-card {
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.09);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 4px 14px rgba(30, 64, 175, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.04);
}

.slide .story-item {
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(180deg, #1e40af 0%, #3b82f6 100%) border-box;
  border: 1px solid transparent;
}

.slide .page-card {
  padding: 14px 18px;
}

.slide .stat-card {
  padding: 14px 16px;
  min-height: unset;
}

/* 3列グリッド（6カード用） */
.slide .page-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

/* stat-grid コンパクト化 */
.slide .stat-grid {
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.slide .stat-value {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

/* 事例紹介 Key Numbers：5個を自動列幅で均等配置 */
[aria-labelledby="cs-stats-heading"] .trust-stats {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 0.5rem;
}

/* subpage-hero をスライドとして全画面表示 */
.is-swipe-lp .slide.subpage-hero {
  min-height: unset;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.is-swipe-lp .slide.subpage-hero .subpage-hero-inner {
  width: 100%;
  padding: 0 max(var(--gutter), 1.25rem);
}

/* section-results をスライド内で透明化 */
.is-swipe-lp .section-results {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* success-fee-text の色をスライド内で修正（キャンバス背景は明るい） */
.slide .success-fee-text {
  color: rgba(30, 41, 59, 0.72);
}

/* ── カード類のパディング削減 ── */
.slide .panel,
.slide .approach-card,
.slide .industry-card,
.slide .service-row,
.slide .story-item {
  padding: 14px 18px;
}

/* ── HOWカード：スライド内では縦並び（badge上・テキスト下） ── */
.slide .approach-card {
  flex-direction: column;
  gap: 0.5rem;
}
.approach-card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.approach-card-head h3 {
  margin: 0;
}
.slide .approach-index {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.slide .mini-card {
  padding: 16px 18px;
}

/* ── グリッドギャップ ── */
.slide .card-grid,
.slide .industry-grid,
.slide .approach-grid--2col {
  gap: 1rem;
}

.slide .service-list {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.slide .story-list,
.slide .faq-list {
  gap: 0.75rem;
}

/* ── パネルリストの間隔削減 ── */
.slide .panel-list li + li,
.slide .industry-card li + li {
  margin-top: 0.3rem;
}

/* ── profile-main: photo カラム除去 ── */
.slide .profile-main--text {
  grid-template-columns: 1fr;
  padding: 18px 20px;
}

/* ── industry-grid を 2×2 固定 ── */
.slide .industry-grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ── FAQ：左右列を独立した flex カラムに（開閉が互いに連動しない） ── */
.slide .faq-list--grid {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.faq-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* コンテンツを縦中央に寄せるラッパー（フッターはそのまま下端） */
.slide-body-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

/* FAQ スライド：横幅を全幅に・フッター際立て */
#faq .faq-list {
  max-width: 100%;
  width: 100%;
}

#faq .slide-footer-inline {
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(30, 64, 175, 0.07);
  border-radius: var(--radius-sm);
  border-top: 2px solid rgba(30, 64, 175, 0.22);
  color: rgba(30, 41, 59, 0.70);
}


/* ── contact スライドの修正 ── */
.slide-inner--contact .contact-layout {
  margin-top: 0;
  flex: 1;
  min-height: 0;
}

.slide--contact .contact-copy h2 {
  color: #ffffff;
}

.slide--contact .contact-copy p {
  color: rgba(248, 250, 252, 0.75);
}

/* ── contact-cta：白カードを廃止してダーク背景直置き ── */
.contact-cta {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.contact-cta .section-eyebrow {
  justify-content: center;
}

.contact-cta-heading {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.contact-cta-lead {
  margin: 0;
  color: rgba(248, 250, 252, 0.70);
  font-size: 0.95rem;
}

.contact-cta-btn {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30);
  font-weight: 700;
  margin-top: 0.25rem;
}

.contact-cta-btn:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}

.trust-signals--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.25rem;
}

.trust-signal--on-dark {
  color: rgba(248, 250, 252, 0.60);
}

.trust-signal--on-dark::before {
  color: #93c5fd;
}

.contact-cta-mail {
  margin: 0;
}

.contact-cta-mail a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ── contact スライドのフッター：底面固定 ── */
.slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem max(var(--gutter), 1.25rem);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(248, 250, 252, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

/* ── カード内テキストサイズ ── */
.slide .panel p,
.slide .industry-card ul,
.slide .approach-card p,
.slide .service-copy p,
.slide .story-item p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.slide .panel h3,
.slide .industry-card h3,
.slide .approach-card h3,
.slide .service-copy h3,
.slide .story-item h3 {
  font-size: 1.1rem;
}

.slide .story-result {
  color: rgba(30, 41, 59, 0.60);
  margin-top: 0.6rem;
  padding-top: 0.5rem;
}

.slide .section-lead,
.slide .section-sublead {
  color: rgba(30, 41, 59, 0.72);
}

/* ── スクロールヒント ── */
.slide-scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(30, 64, 175, 0.55);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-family: var(--bebas);
  opacity: 0;
  animation:
    swipe-hint-fade 2.4s ease-in-out 1.4s forwards,
    swipe-hint-float 1.8s ease-in-out 3.8s infinite;
}

@keyframes swipe-hint-fade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes swipe-hint-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── ページネーションドット ── */
.swipe-dots {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.swipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.22);
  border: 1.5px solid rgba(30, 64, 175, 0.42);
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
  flex-shrink: 0;
  display: block;
}

.swipe-dot.is-active {
  background: #1e40af;
  border-color: #1e40af;
  transform: scale(1.45);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.swipe-dot:hover:not(.is-active) {
  background: rgba(30, 64, 175, 0.40);
  border-color: rgba(30, 64, 175, 0.60);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .slide .industry-grid--2x2 {
    grid-template-columns: 1fr;
  }

  .slide .faq-list--grid {
    flex-direction: column;
  }

  .slide .approach-grid--2col {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .swipe-dots {
    right: 0.5rem;
    gap: 6px;
  }

  .swipe-dot {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 640px) {
  .slide-inner {
    padding-top: 64px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* LP共通の justify-content:center をモバイルで上揃えに戻す
     （center のまま overflow すると上部ヘッダーが隠れるため） */
  .is-swipe-lp .slide-inner {
    justify-content: flex-start !important;
    padding-top: 52px;
    padding-bottom: 1.5rem;
  }

  /* モバイルでカードが1画面に収まるようスペーシング縮小 */
  .is-swipe-lp .section-head {
    margin-bottom: 1rem;
  }
  .is-swipe-lp .section-head h2 {
    margin-bottom: 0.3rem;
  }
  .is-swipe-lp .service-list {
    gap: 8px;
  }
  .is-swipe-lp .service-row {
    padding: 10px 14px;
  }
  .is-swipe-lp .service-row .step-index {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .is-swipe-lp .trust-stats {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }
  .is-swipe-lp .trust-profile-text {
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
  }
  .is-swipe-lp .story-list {
    gap: 0.5rem;
  }
  .is-swipe-lp .story-item {
    padding: 10px 14px;
  }
  .is-swipe-lp .story-result {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
  .is-swipe-lp .approach-card {
    padding: 14px 16px;
  }
  .is-swipe-lp .approach-grid--2col {
    gap: 0.5rem;
  }

  .slide-inner::-webkit-scrollbar {
    display: none;
  }

  .slide .profile-grid {
    grid-template-columns: 1fr;
  }


  .slide .card-grid {
    grid-template-columns: 1fr;
  }

  .slide .solutions-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .slide .service-list {
    grid-template-columns: 1fr;
  }

  .slide .story-list--3col {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* trust-stats：3列→2列（説明文が折り返しすぎて読めなくなるため） */
  .slide .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 奇数番目の最終アイテムは全幅に（3個・5個グリッド対応） */
  .slide .trust-stats .trust-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .slide .page-grid,
  .slide .page-grid--3col {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  /* Why hiratoru の3枚 mini-cards はモバイルで2列＋最終1枚全幅 */
  #company .page-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
  #company .page-grid--3col .mini-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .slide .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* ════════════════════════════════════════════════════
   Swipe LP — 6スライド再構成（案A）
   ════════════════════════════════════════════════════ */

/* ── Hero LP レイアウト ── */
.slide--hero.hero {
  padding: 0;
  min-height: unset;
  justify-content: flex-start;
  padding-top: 64px;
}

.hero-inner--lp {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}

/* 見出しサイズ（長い日本語に対応） */
.is-swipe-lp .hero h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
  align-items: flex-start;
}

.is-swipe-lp .hero .hero-heading-line {
  white-space: normal;
  text-align: center;
  width: 100%;
}

/* ── ヒーロースライド：左下レイアウト ── */
.is-swipe-lp .slide--hero .hero {
  justify-content: center;
}
.is-swipe-lp .slide--hero .hero-inner {
  justify-content: center;
  align-items: center;
  padding-left: clamp(2.5rem, 8vw, 7rem);
  padding-right: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
}
.is-swipe-lp .slide--hero .hero-content {
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0;
}
.is-swipe-lp .slide--hero .hero-heading-line {
  text-align: center;
  width: max-content;
  white-space: nowrap;
}
.is-swipe-lp .slide--hero .hero-heading-sub {
  text-align: left;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: #1e3a8a;
  letter-spacing: 0.16em;
}

@media (max-width: 479px) {
  .is-swipe-lp .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.8rem);
  }
  .is-swipe-lp .slide--hero .hero-heading-line {
    white-space: normal;
    width: 100%;
  }
  .is-swipe-lp .slide--hero .hero-inner {
    padding-left: clamp(1.5rem, 6vw, 2.5rem);
    padding-right: 1.5rem;
  }
  .is-swipe-lp .slide--hero .hero-heading-sub {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem);
    letter-spacing: 0.08em;
  }
}


/* ── Solutions（サービス ＋ 進め方）2カラム ── */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* HOW 列の左に縦区切り線 */
.solutions-col + .solutions-col {
  border-left: 1px solid rgba(147, 197, 253, 0.2);
  padding-left: 2rem;
}

/* ── フォームスライド（contact.html最終スライド）── */
.slide--form {
  background: #eff6ff;
}

.slide--form .slide-inner--form {
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  scrollbar-width: none;
  gap: 0;
  padding-top: 72px;
  padding-bottom: 0;
}

.slide--form .slide-inner--form::-webkit-scrollbar { display: none; }

.slide--form .contact-cta-heading {
  color: #1e293b;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.15rem;
}

.slide--form .contact-cta-lead {
  color: rgba(30, 41, 59, 0.65);
  margin-bottom: 0.5rem;
}

.slide--form .contact-form-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.slide--form .contact-form-wrap iframe {
  display: block;
}

.slide--form .trust-signals--row {
  margin-top: 0.5rem;
}

.slide--form .trust-signal--on-dark {
  color: rgba(30, 41, 59, 0.58);
}

.slide--form .trust-signal--on-dark::before {
  color: #1e40af;
}

.slide--form .slide-footer {
  position: static;
  width: 100%;
  max-width: 680px;
  background: transparent;
  border-top: 1px solid rgba(30, 64, 175, 0.12);
  color: rgba(30, 41, 59, 0.50);
  margin-top: 0.25rem;
  padding: 0.6rem max(var(--gutter), 1.25rem);
}

/* ════════════════════════════════════════════════════
   ヒーロー統合・CTAバー統合レイアウト
   ════════════════════════════════════════════════════ */

/* ── ページタイトルヘッダー（旧ヒーロースライドの代替）── */
.slide-page-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(30, 64, 175, 0.18);
  flex-wrap: wrap;
}

.slide-page-kicker {
  font-family: var(--bebas);
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
}

.slide-page-heading {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #1e293b;
  line-height: 1.1;
}

/* ── 最終スライド：FAQを中央に、CTAバーを底面へ ── */
.is-swipe-lp .slide--last .slide-inner {
  justify-content: flex-start;
}

/* FAQコンテンツ（見出し＋カード）を中央配置 */
.faq-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

/* ── CTAバー（最終スライド末尾） ── */
.slide-cta-bar {
  margin-top: auto;
  padding-top: 1rem;
  width: 100%;
  border-top: 1px solid rgba(30, 64, 175, 0.18);
}

.slide-cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.slide-cta-bar-label {
  margin: 0;
  font-family: var(--bebas);
  font-size: 0.75rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
}

.slide-cta-bar-message {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.slide-cta-bar-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 11px 22px;
}

.slide-footer-inline {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(30, 64, 175, 0.10);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: rgba(30, 41, 59, 0.42);
  font-size: 0.75rem;
}

.slide-footer-inline p { margin: 0; }

.footer-email-link {
  color: rgba(30, 41, 59, 0.55);
  text-decoration: none;
}
.footer-email-link:hover { text-decoration: underline; }

/* slide-footer（contact.html フォームスライド）内のリンク */
.slide-footer .footer-email-link {
  color: rgba(30, 41, 59, 0.60);
}

/* ダーク背景スライド内のメールリンク */
.slide--bg-dark-wave .footer-email-link,
.slide--bg-dark-grid .footer-email-link {
  color: rgba(203, 213, 225, 0.55);
}

/* ── 問い合わせページ：ヒーロー説明文 ── */
.slide-page-lead {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: rgba(30, 41, 59, 0.70);
  max-width: 42rem;
}

.solutions-col-head {
  font-family: var(--bebas);
  font-size: 0.75rem;
  letter-spacing: 0.38em;
  color: var(--accent);
  font-weight: 400;
  margin: 0 0 0.6rem;
}

/* ── Trust stats（数字3点） ── */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}

.trust-stat {
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(30, 64, 175, 0.09);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #ffffff 0%, #f0f7ff 100%);
  box-shadow: 0 2px 12px rgba(30, 64, 175, 0.07), 0 12px 32px rgba(0,0,0,0.04);
}

.trust-stat-num {
  display: block;
  font-family: var(--bebas);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.04em;
  line-height: 1;
}

.trust-stat-num small {
  font-size: 0.85rem;
  letter-spacing: 0;
  -webkit-text-fill-color: #1e40af;
}

.trust-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(30, 41, 59, 0.58);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.trust-stat-desc {
  font-size: 0.68rem;
  color: rgba(30, 41, 59, 0.55);
  margin: 0.3rem 0 0;
  line-height: 1.5;
  text-align: left;
}

/* ── プロフィールテキスト ── */
.trust-profile-text {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: rgba(30, 41, 59, 0.70);
  line-height: 1.65;
}

.trust-profile-text strong {
  color: #1e293b;
  font-weight: 700;
}

/* ── 3カラム事例リスト ── */
.story-list--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.story-item--compact {
  padding: 12px 16px;
}

.story-item--compact h3 {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.story-item--compact .story-result {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
}

/* ── レスポンシブ追加 ── */
@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .solutions-col + .solutions-col {
    border-left: none;
    border-top: 1px solid rgba(147, 197, 253, 0.2);
    padding-left: 0;
    padding-top: 1rem;
  }

  .story-list--3col {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .trust-stats {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .slide--hero.hero {
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  .trust-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-stat-num {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }

  .trust-stats .trust-stat:last-child {
    grid-column: 1 / -1;
  }
}

/* ════════════════════════════════════════════════════
   スライド入場アニメーション
   ════════════════════════════════════════════════════ */

/* ── キーフレーム ── */
@keyframes slide-up-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes clip-up-reveal {
  from { clip-path: inset(110% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes line-draw {
  from { width: 0; }
  to   { width: 3rem; }
}



/* ── 非アクティブ：ヒーロー要素はアニメーションのみ解除（スクロール退場中に自然に消える） ── */
.is-swipe-lp .slide:not(.is-active) .hero-heading-line,
.is-swipe-lp .slide:not(.is-active) .hero-heading-en,
.is-swipe-lp .slide:not(.is-active) .hero-heading-sub,
.is-swipe-lp .slide:not(.is-active) .slide-scroll-hint {
  animation: none;
  transition: none;
}

/* ── 非アクティブ：コンテンツ要素は瞬時非表示（入場アニメーション用） ── */
.is-swipe-lp .slide:not(.is-active) .slide-page-kicker,
.is-swipe-lp .slide:not(.is-active) .slide-page-heading,
.is-swipe-lp .slide:not(.is-active) .slide-page-lead,
.is-swipe-lp .slide:not(.is-active) .section-eyebrow,
.is-swipe-lp .slide:not(.is-active) .section-head h2,
.is-swipe-lp .slide:not(.is-active) .section-lead,
.is-swipe-lp .slide:not(.is-active) .section-diff-tag,
.is-swipe-lp .slide:not(.is-active) .solutions-col-head,
.is-swipe-lp .slide:not(.is-active) .trust-profile-text,
.is-swipe-lp .slide:not(.is-active) .slide-cta-bar,
.is-swipe-lp .slide:not(.is-active) .panel,
.is-swipe-lp .slide:not(.is-active) .approach-card,
.is-swipe-lp .slide:not(.is-active) .service-row,
.is-swipe-lp .slide:not(.is-active) .story-item,
.is-swipe-lp .slide:not(.is-active) .faq-item,
.is-swipe-lp .slide:not(.is-active) .trust-stat,
.is-swipe-lp .slide:not(.is-active) .page-card {
  opacity: 0;
  animation: none;
  transition: none;
}

/* ── ヒーロースライド ── */
.is-swipe-lp .slide--hero.is-active .hero-heading-line {
  animation: hero-heading-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}
.is-swipe-lp .slide--hero.is-active .hero-heading-line + .hero-heading-line {
  animation-delay: 0.28s;
}

/* 属社化へ。：青アクセント */
.hero-heading-line--accent {
  background: linear-gradient(160deg, #1e40af 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.is-swipe-lp .slide--hero.is-active .hero-heading-rule {
  animation: hero-rule-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}
.is-swipe-lp .slide--hero.is-active .hero-heading-sub {
  animation: hero-sub-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.75s;
}

.is-swipe-lp .slide--hero.is-active .slide-scroll-hint {
  animation: swipe-hint-fade 2.4s ease-in-out 1.8s forwards;
}

/* ── サブページヘッダー（各下層ページ第1スライド） ── */
.is-swipe-lp .slide.is-active .slide-page-kicker {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.05s;
}

.is-swipe-lp .slide.is-active .slide-page-heading {
  animation: clip-up-reveal 0.85s var(--ease-spring) both;
  animation-delay: 0.15s;
}

.is-swipe-lp .slide.is-active .slide-page-lead {
  animation: slide-up-in 0.55s ease both;
  animation-delay: 0.4s;
}

/* ── コンテンツスライド：共通テキスト ── */
.is-swipe-lp .slide--content.is-active .section-eyebrow {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.05s;
}

.is-swipe-lp .slide--content.is-active .section-head h2 {
  animation: slide-up-in 0.55s ease both;
  animation-delay: 0.12s;
}

.is-swipe-lp .slide--content.is-active .section-head h2::after {
  animation: line-draw 0.65s ease both;
  animation-delay: 0.35s;
}

.is-swipe-lp .slide--content.is-active .section-lead,
.is-swipe-lp .slide--content.is-active .section-diff-tag {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.22s;
}

.is-swipe-lp .slide--content.is-active .solutions-col-head {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.22s;
}

/* ── カード：スタガー ── */
.is-swipe-lp .slide--content.is-active .panel:nth-child(1),
.is-swipe-lp .slide--content.is-active .service-row:nth-child(1),
.is-swipe-lp .slide--content.is-active .approach-card:nth-child(1),
.is-swipe-lp .slide--content.is-active .faq-item:nth-child(1),
.is-swipe-lp .slide--content.is-active .trust-stat:nth-child(1),
.is-swipe-lp .slide--content.is-active .story-item:nth-child(1),
.is-swipe-lp .slide--content.is-active .page-card:nth-child(1) {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.2s;
}

.is-swipe-lp .slide--content.is-active .panel:nth-child(2),
.is-swipe-lp .slide--content.is-active .service-row:nth-child(2),
.is-swipe-lp .slide--content.is-active .approach-card:nth-child(2),
.is-swipe-lp .slide--content.is-active .faq-item:nth-child(2),
.is-swipe-lp .slide--content.is-active .trust-stat:nth-child(2),
.is-swipe-lp .slide--content.is-active .story-item:nth-child(2),
.is-swipe-lp .slide--content.is-active .page-card:nth-child(2) {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.3s;
}

.is-swipe-lp .slide--content.is-active .panel:nth-child(3),
.is-swipe-lp .slide--content.is-active .service-row:nth-child(3),
.is-swipe-lp .slide--content.is-active .approach-card:nth-child(3),
.is-swipe-lp .slide--content.is-active .faq-item:nth-child(3),
.is-swipe-lp .slide--content.is-active .trust-stat:nth-child(3),
.is-swipe-lp .slide--content.is-active .story-item:nth-child(3),
.is-swipe-lp .slide--content.is-active .page-card:nth-child(3) {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.38s;
}

.is-swipe-lp .slide--content.is-active .panel:nth-child(4),
.is-swipe-lp .slide--content.is-active .service-row:nth-child(4),
.is-swipe-lp .slide--content.is-active .approach-card:nth-child(4),
.is-swipe-lp .slide--content.is-active .faq-item:nth-child(4),
.is-swipe-lp .slide--content.is-active .trust-stat:nth-child(4),
.is-swipe-lp .slide--content.is-active .page-card:nth-child(4) {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.44s;
}

.is-swipe-lp .slide--content.is-active .panel:nth-child(5),
.is-swipe-lp .slide--content.is-active .service-row:nth-child(5),
.is-swipe-lp .slide--content.is-active .approach-card:nth-child(5),
.is-swipe-lp .slide--content.is-active .faq-item:nth-child(5),
.is-swipe-lp .slide--content.is-active .trust-stat:nth-child(5),
.is-swipe-lp .slide--content.is-active .story-item:nth-child(5),
.is-swipe-lp .slide--content.is-active .page-card:nth-child(5) {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.5s;
}

.is-swipe-lp .slide--content.is-active .panel:nth-child(6),
.is-swipe-lp .slide--content.is-active .service-row:nth-child(6),
.is-swipe-lp .slide--content.is-active .approach-card:nth-child(6),
.is-swipe-lp .slide--content.is-active .faq-item:nth-child(6),
.is-swipe-lp .slide--content.is-active .trust-stat:nth-child(6),
.is-swipe-lp .slide--content.is-active .story-item:nth-child(6),
.is-swipe-lp .slide--content.is-active .page-card:nth-child(6) {
  animation: slide-up-in 0.5s ease both;
  animation-delay: 0.56s;
}

/* ── 実績スライド固有 ── */
.is-swipe-lp .slide--content.is-active .trust-profile-text {
  animation: slide-up-in 0.55s ease both;
  animation-delay: 0.5s;
}

/* ── 最終スライド：CTAバー ── */
.is-swipe-lp .slide--last.is-active .slide-cta-bar {
  animation: slide-up-in 0.6s ease both;
  animation-delay: 0.52s;
}

/* ── ヒーロー：脱属人化→属社化 ラベル ── */
.hero-heading-tag {
  display: block;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1e40af;
  margin-bottom: 0.5rem;
}
.is-swipe-lp .slide--hero.is-active .hero-heading-tag {
  animation: hero-sub-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}
.is-swipe-lp .slide:not(.is-active) .hero-heading-tag {
  animation: none;
}

/* ── ネイティブ問い合わせフォーム ── */
.native-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.02em;
}
.form-label-opt {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(30, 41, 59, 0.45);
  margin-left: 0.35rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(30, 41, 59, 0.2);
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.87rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 96px;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%231e293b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}
.form-submit {
  align-self: flex-start;
  padding: 0.68rem 1.8rem;
  background: #1e40af;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  letter-spacing: 0.02em;
}
.form-submit:hover { background: #1d3a9e; }
.form-submit:active { transform: translateY(1px); }
.form-note {
  font-size: 0.74rem;
  color: rgba(30, 41, 59, 0.48);
  margin: -0.15rem 0;
}
