/* ==========================================================================
   ATIRO AGENT CRAW — 公開サービスサイト スタイル
   ダーク×エメラルドのプレミアムトーン（アプリ本体 Empire テーマと連続性を持たせる）
   ========================================================================== */

:root {
  --ac-ink: #020617;
  --ac-ink-2: #0b1220;
  --ac-ink-3: #111c31;
  --ac-line: rgba(148, 163, 184, 0.18);
  --ac-text: #1e293b;
  --ac-text-sub: #475569;
  --ac-text-on-dark: #e2e8f0;
  --ac-text-on-dark-sub: #94a3b8;
  --ac-brand: #10b981;
  --ac-brand-2: #34d399;
  --ac-brand-3: #059669;
  --ac-accent: #38bdf8;
  --ac-radius: 16px;
  --ac-radius-lg: 22px;
  --ac-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px -24px rgba(15, 23, 42, 0.28);
  --ac-shadow-dark: 0 30px 70px -30px rgba(2, 6, 23, 0.8);
  --ac-maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html.site-root {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: #ffffff;
  color: var(--ac-text);
  font-family: 'Segoe UI', system-ui, -apple-system, 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-container {
  width: 100%;
  max-width: var(--ac-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.site-container--narrow {
  max-width: 820px;
}

.site-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 10px 0;
}
.site-skip:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--ac-text-on-dark);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.94);
  box-shadow: 0 12px 30px -20px rgba(2, 6, 23, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--ac-brand-2), var(--ac-brand-3));
  color: #04180f;
  font-size: 17px;
  box-shadow: 0 10px 24px -12px rgba(16, 185, 129, 0.85);
  ring: 1px;
}
.site-logo__mark--sm {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 10px;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-logo__name {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #f8fafc;
}
.site-logo__name b {
  font-weight: 800;
}
.site-logo__sub {
  font-size: 9.5px;
  color: rgba(52, 211, 153, 0.85);
  letter-spacing: 0.02em;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.site-nav__link {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  color: #cbd5e1;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.site-lang:hover {
  color: #fff;
  border-color: rgba(52, 211, 153, 0.6);
  background: rgba(16, 185, 129, 0.12);
}

.site-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */
.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}
.site-btn:hover {
  transform: translateY(-1px);
}
.site-btn--sm {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 9px;
}
.site-btn--lg {
  padding: 15px 28px;
  font-size: 15.5px;
  border-radius: 13px;
}
.site-btn--block {
  width: 100%;
}

.site-btn--primary {
  background: linear-gradient(135deg, var(--ac-brand-2), var(--ac-brand-3));
  color: #04180f;
  box-shadow: 0 18px 34px -18px rgba(16, 185, 129, 0.75);
}
.site-btn--primary:hover {
  box-shadow: 0 22px 42px -18px rgba(16, 185, 129, 0.9);
}

.site-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.34);
}
.site-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-btn--outline {
  background: #fff;
  color: var(--ac-text);
  border-color: #cbd5e1;
}
.site-btn--outline:hover {
  border-color: var(--ac-brand);
  color: var(--ac-brand-3);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ac-ink);
  color: var(--ac-text-on-dark);
  padding: 74px 0 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 12% -5%, rgba(16, 185, 129, 0.22), transparent 60%),
    radial-gradient(700px 420px at 88% 8%, rgba(56, 189, 248, 0.16), transparent 62%),
    linear-gradient(180deg, #020617 0%, #071426 55%, #04101f 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 25%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 30%, transparent 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  padding-bottom: 56px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
}
.hero__title-accent {
  background: linear-gradient(100deg, #6ee7b7 10%, #34d399 45%, #38bdf8 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 22px;
  font-size: 16px;
  color: var(--ac-text-on-dark-sub);
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__note {
  margin-top: 12px;
  font-size: 11.5px;
  color: rgba(148, 163, 184, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #cbd5e1;
}
.hero__trust i {
  color: var(--ac-brand-2);
  font-size: 10.5px;
}

.hero__metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(148, 163, 184, 0.16);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  max-width: var(--ac-maxw);
  padding: 0 24px;
}
.metric {
  background: rgba(2, 6, 23, 0.6);
  padding: 26px 20px;
  text-align: center;
}
.metric__value {
  font-size: 21px;
  font-weight: 800;
  color: #6ee7b7;
  letter-spacing: -0.01em;
}
.metric__label {
  margin-top: 5px;
  font-size: 12px;
  color: var(--ac-text-on-dark-sub);
}

/* --- Hero 疑似 UI モック --- */
.hero__visual {
  position: relative;
}
.mock {
  border-radius: var(--ac-radius-lg);
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.92), rgba(2, 6, 23, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--ac-shadow-dark);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.mock__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}
.mock__dot--r {
  background: #f87171;
}
.mock__dot--y {
  background: #fbbf24;
}
.mock__dot--g {
  background: #34d399;
}
.mock__url {
  margin-left: 10px;
  font-size: 10.5px;
  color: #94a3b8;
  letter-spacing: 0.03em;
}
.mock__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.mock__agent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.mock__avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #04180f;
  font-size: 13px;
  flex-shrink: 0;
}
.mock__avatar--a {
  background: linear-gradient(140deg, #34d399, #059669);
}
.mock__avatar--b {
  background: linear-gradient(140deg, #a78bfa, #7c3aed);
  color: #f5f3ff;
}
.mock__agent-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
}
.mock__agent-role {
  font-size: 10.5px;
  color: #94a3b8;
}
.mock__badge {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mock__badge--live {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}
.mock__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: ac-pulse 2s infinite;
}
@keyframes ac-pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.mock__panel {
  border-radius: 13px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 13px;
}
.mock__panel-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.mock__panel-title i {
  color: #38bdf8;
}
.mock__steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mock__steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: #94a3b8;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.05);
}
.mock__steps li i {
  font-size: 10px;
  width: 12px;
  text-align: center;
}
.mock__steps li.is-done {
  color: #cbd5e1;
}
.mock__steps li.is-done i {
  color: var(--ac-brand-2);
}
.mock__steps li.is-active {
  color: #f8fafc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.24);
}
.mock__steps li.is-active i {
  color: #38bdf8;
  animation: ac-spin 1.6s linear infinite;
}
@keyframes ac-spin {
  to {
    transform: rotate(360deg);
  }
}

.mock__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.mock__kpi {
  padding: 10px;
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}
.mock__kpi-label {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
}
.mock__kpi-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
  margin-top: 2px;
}
.mock__kpi-value--ok {
  color: #6ee7b7;
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */
.section {
  padding: 86px 0;
}
.section--light {
  background: #fff;
}
.section--muted {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-top: 1px solid #e9eef5;
  border-bottom: 1px solid #e9eef5;
}
.section--dark {
  background: linear-gradient(165deg, #04101f 0%, #0b1220 60%, #020617 100%);
  color: var(--ac-text-on-dark);
  position: relative;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 80% 0%, rgba(16, 185, 129, 0.14), transparent 65%);
  pointer-events: none;
}
.section--dark > .site-container {
  position: relative;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-brand-3);
  margin-bottom: 12px;
}
.eyebrow--on-dark {
  color: #6ee7b7;
}

.section__title {
  font-size: clamp(24px, 3.1vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.section__title--on-dark {
  color: #f8fafc;
}

.section__lead {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--ac-text-sub);
  max-width: 760px;
}
.section__lead--on-dark {
  color: var(--ac-text-on-dark-sub);
}

/* --- reveal アニメーション --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.site-root {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   カード
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards--feature {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  border-radius: var(--ac-radius);
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e6ecf3;
  box-shadow: var(--ac-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 26px 50px -26px rgba(16, 185, 129, 0.4);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: linear-gradient(140deg, rgba(52, 211, 153, 0.16), rgba(5, 150, 105, 0.14));
  color: var(--ac-brand-3);
  margin-bottom: 16px;
}
.card__icon--warn {
  background: linear-gradient(140deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.14));
  color: #b45309;
}
.card__icon--glass {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.card__title {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 9px;
}
.card__title--on-dark {
  color: #f8fafc;
}
.card__body {
  font-size: 13.8px;
  color: var(--ac-text-sub);
}
.card__body--on-dark {
  color: var(--ac-text-on-dark-sub);
}

.card--glass {
  background: rgba(148, 163, 184, 0.07);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.card--glass:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(52, 211, 153, 0.34);
  box-shadow: 0 26px 50px -30px rgba(16, 185, 129, 0.5);
}

/* --------------------------------------------------------------------------
   3 つの柱
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.pillar {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--ac-radius-lg);
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.1), rgba(2, 6, 23, 0.4));
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ac-brand-2), rgba(56, 189, 248, 0.6), transparent);
}
.pillar__no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.14);
  letter-spacing: -0.04em;
}
.pillar__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
  font-size: 18px;
  margin-bottom: 18px;
}
.pillar__title {
  font-size: 17.5px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
}
.pillar__body {
  font-size: 13.8px;
  color: var(--ac-text-on-dark-sub);
}

/* --------------------------------------------------------------------------
   活用例
   -------------------------------------------------------------------------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.usecase {
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: var(--ac-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--ac-shadow);
  display: flex;
  flex-direction: column;
}
.usecase__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.usecase__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #0f172a, #1e293b);
  color: #6ee7b7;
  font-size: 16px;
}
.usecase__tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ac-brand-3);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.24);
  padding: 4px 10px;
  border-radius: 999px;
}
.usecase__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}
.usecase__body {
  font-size: 13.6px;
  color: var(--ac-text-sub);
}
.usecase__points {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.usecase__points li {
  display: flex;
  gap: 9px;
  font-size: 12.8px;
  color: #334155;
}
.usecase__points i {
  color: var(--ac-brand);
  font-size: 12px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   導入フロー
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--ac-radius);
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px solid #e6ecf3;
}
.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, #0f172a, #1e293b);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}
.step__title {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 7px;
}
.step__body {
  font-size: 13.2px;
  color: var(--ac-text-sub);
}

/* --------------------------------------------------------------------------
   料金
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 24px;
  border-radius: var(--ac-radius-lg);
  background: #fff;
  border: 1px solid #e6ecf3;
  box-shadow: var(--ac-shadow);
}
.plan--rec {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 30px 60px -28px rgba(16, 185, 129, 0.5);
  transform: translateY(-6px);
}
.plan__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ac-brand-2), var(--ac-brand-3));
  color: #04180f;
  white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(16, 185, 129, 0.9);
}
.plan__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.plan__desc {
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
  min-height: 34px;
}
.plan__price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan__price-value {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan__price-period {
  font-size: 12px;
  color: #64748b;
}
.plan__limit {
  margin-top: 10px;
  font-size: 11.5px;
  color: #334155;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.plan__limit i {
  color: var(--ac-brand-3);
  font-size: 11px;
}
.plan__features {
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.plan__features li {
  display: flex;
  gap: 9px;
  font-size: 12.8px;
  color: #334155;
}
.plan__features i {
  color: var(--ac-brand);
  font-size: 11px;
  margin-top: 5px;
}
.plans__note {
  margin-top: 22px;
  font-size: 12px;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  padding: 0 20px;
  box-shadow: var(--ac-shadow);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 14.8px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__chev {
  font-size: 12px;
  color: #94a3b8;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.faq__item[open] .faq__chev {
  transform: rotate(180deg);
  color: var(--ac-brand-3);
}
.faq__a {
  padding: 0 0 20px;
  font-size: 13.8px;
  color: var(--ac-text-sub);
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   最終 CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding: 78px 0;
  background: linear-gradient(135deg, #04101f 0%, #062b22 48%, #020617 100%);
  color: var(--ac-text-on-dark);
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 20%, rgba(16, 185, 129, 0.24), transparent 65%);
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}
.cta__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.cta__lead {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ac-text-on-dark-sub);
  max-width: 620px;
}
.cta__bullets {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.cta__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
}
.cta__bullets i {
  color: var(--ac-brand-2);
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cta__note {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: #020617;
  color: var(--ac-text-on-dark-sub);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}
.site-footer__name {
  margin-top: 12px;
  font-size: 14px;
  color: #f8fafc;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.site-footer__name b {
  font-weight: 800;
}
.site-footer__tagline {
  margin-top: 6px;
  font-size: 12px;
  max-width: 320px;
}
.site-footer__cta {
  margin-top: 18px;
}
.site-footer__col h3 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 14px;
}
.site-footer__col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  transition: color 0.18s ease;
}
.site-footer__col a:hover {
  color: #6ee7b7;
}
.site-footer__bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 11.5px;
}
.site-footer__note {
  color: rgba(148, 163, 184, 0.7);
}

/* 会社名・住所 */
.site-footer__address {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.82);
}
.site-footer__company {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 3px;
}

/* 取得認証バッジ */
.site-footer__certs {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__cert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.05);
  max-width: 320px;
}
.site-footer__cert > i {
  margin-top: 2px;
  font-size: 12px;
  color: #34d399;
  flex-shrink: 0;
}
.site-footer__cert span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.site-footer__cert b {
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.4;
}
.site-footer__cert em {
  font-style: normal;
  font-size: 10.5px;
  color: rgba(148, 163, 184, 0.75);
  line-height: 1.4;
}

/* 外部リンクアイコン */
.site-footer__ext {
  margin-left: 6px;
  font-size: 8.5px;
  opacity: 0.55;
  vertical-align: 1px;
}

/* 会社概要ページの認証リスト */
.doc__certs {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.doc__cert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--ac-line, rgba(15, 23, 42, 0.1));
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.05);
}
.doc__cert > i {
  margin-top: 2px;
  color: #059669;
  font-size: 15px;
  flex-shrink: 0;
}
.doc__cert span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.doc__cert b {
  font-size: 13.5px;
  font-weight: 700;
}
.doc__cert em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.72;
}

/* --------------------------------------------------------------------------
   法務ドキュメント
   -------------------------------------------------------------------------- */
.doc {
  padding: 60px 0 84px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 200px);
}
.doc__head {
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 28px;
}
.doc__title {
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.doc__meta {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}
.doc__lead {
  font-size: 14.5px;
  color: var(--ac-text-sub);
}
.doc__section {
  margin-top: 34px;
}
.doc__h2 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--ac-brand);
}
.doc__p {
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}
.doc__p a,
.doc__list a {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.doc__p a:hover,
.doc__list a:hover {
  color: #065f46;
}
.doc__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}
.doc__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.8px;
  color: #334155;
}
.doc__list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac-brand);
}
.doc__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  overflow: hidden;
}
.doc__table th,
.doc__table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}
.doc__table th {
  width: 30%;
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}
.doc__table tr:last-child th,
.doc__table tr:last-child td {
  border-bottom: none;
}
.doc__table a {
  color: var(--ac-brand-3);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .cards--feature {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan--rec {
    transform: none;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 44px;
  }
  .mock {
    transform: none;
  }
  .cards--3,
  .pillars,
  .usecases {
    grid-template-columns: 1fr;
  }
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 10px 16px 18px;
    margin: 0;
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav__link {
    padding: 13px 8px;
    font-size: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0;
  }
  .site-burger {
    display: inline-flex;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .site-logo__sub {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 62px 0;
  }
  .hero {
    padding-top: 52px;
  }
  .hero__metrics {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cards--feature {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .site-hide-sm {
    display: none;
  }
  .doc__table th {
    width: 36%;
  }
}

@media (max-width: 480px) {
  .site-hide-xs {
    display: none;
  }
  .site-container {
    padding: 0 18px;
  }
  .hero__actions .site-btn {
    width: 100%;
  }
}
