/* ============================================================
   リセット & 基盤
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1e40af;
  --primary-light: #3b82f6;
  --primary-pale:  #eff6ff;
  --accent:        #0ea5e9;
  --accent-dark:   #0284c7;
  --green:         #16a34a;
  --green-pale:    #dcfce7;
  --yellow:        #d97706;
  --yellow-pale:   #fef3c7;
  --red:           #dc2626;
  --red-pale:      #fee2e2;
  --gray-50:       #f8faff;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-500:      #64748b;
  --gray-700:      #334155;
  --gray-900:      #0f172a;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--sm  { padding: 7px 18px; font-size: 14px; }
.btn--lg  { padding: 14px 32px; font-size: 17px; }
.btn--full { width: 100%; }
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,64,175,.35); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.15); }

/* ============================================================
   セクション共通
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.35;
}

/* ============================================================
   ナビ
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s;
}
.nav--scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav--scrolled .nav__links a:not(.btn) { color: var(--text); }
.nav--scrolled .nav__links a:not(.btn):hover { color: var(--primary); }
.nav--scrolled .nav__logo .logo-text { color: var(--primary); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  border-radius: 8px;
}
.logo-text {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links .btn {
  background: rgba(255,255,255,.2);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.nav__links .btn:hover { background: rgba(255,255,255,.35); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59,130,246,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(14,165,233,.15) 0%, transparent 50%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero__title .accent {
  color: var(--accent);
  position: relative;
}
.hero__title .accent::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .5;
}
.hero__desc {
  color: rgba(255,255,255,.8);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero__note {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
}
.hero__wave svg { width: 100%; height: 100%; }

/* モックウィンドウ */
.mock-window {
  background: #1e293b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.1);
}
.mock-window__bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-window__bar span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #334155;
}
.mock-window__bar span:nth-child(1) { background: #ef4444; }
.mock-window__bar span:nth-child(2) { background: #f59e0b; }
.mock-window__bar span:nth-child(3) { background: #22c55e; }
.mock-window__body { padding: 20px; }
.mock-dashboard { color: #e2e8f0; font-size: 13px; }
.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mock-title { font-weight: 700; font-size: 15px; }
.mock-table__head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mock-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  align-items: center;
  transition: background .15s;
}
.mock-table__row:hover { background: rgba(255,255,255,.03); }
.mock-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mock-kpi { background: rgba(255,255,255,.06); border-radius: 8px; padding: 12px; }
.mock-kpi__label { font-size: 11px; color: var(--gray-400); margin-bottom: 4px; }
.mock-kpi__value { font-size: 18px; font-weight: 800; color: #fff; }

/* バッジ */
.badge { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; display: inline-block; }
.badge--green  { background: rgba(22,163,74,.25);  color: #4ade80; }
.badge--yellow { background: rgba(217,119,6,.25);  color: #fbbf24; }
.badge--gray   { background: rgba(148,163,184,.15); color: #94a3b8; }

.text-green  { color: #4ade80; }
.text-yellow { color: #fbbf24; }
.text-blue   { color: #60a5fa; }

/* ============================================================
   実績バー
   ============================================================ */
.stats {
  background: var(--gray-50);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}
.stats__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 24px 48px;
}
.stat__value {
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.stat__value span { font-size: 20px; }
.stat__label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.stat__divider {
  width: 1px;
  height: 60px;
  background: var(--gray-200);
}

/* ============================================================
   課題
   ============================================================ */
.problems {
  padding: 96px 0 64px;
  background: var(--gray-50);
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .2s, transform .2s;
}
.problem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.problem-card__icon { font-size: 36px; margin-bottom: 16px; }
.problem-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--gray-900); line-height: 1.4; }
.problem-card p  { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

.problems__arrow { text-align: center; }
.arrow-label { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.arrow-icon  { font-size: 28px; color: var(--primary-light); animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ============================================================
   機能
   ============================================================ */
.features {
  padding: 96px 0;
  background: #fff;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .2s, transform .2s;
}
.feature-block:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-block--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-color: #bfdbfe;
}
.feature-block__icon { font-size: 32px; margin-bottom: 16px; }
.feature-block__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 10px;
}
.feature-block h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.4;
}
.feature-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}
.feature-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
}

/* ミニグラフ */
.mini-chart {
  background: rgba(255,255,255,.8);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 20px;
}
.mini-chart__title { font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 16px; }
.mini-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
}
.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height .3s;
}
.bar--plan   { background: #bfdbfe; }
.bar--actual { background: var(--primary); }
.bar-label { font-size: 10px; color: var(--text-muted); }
.mini-chart__legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; }
.dot--plan   { background: #bfdbfe; }
.dot--actual { background: var(--primary); }

/* ============================================================
   自社専用システム
   ============================================================ */
.ownership {
  padding: 96px 0;
  background: var(--gray-50);
}
.section-lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
}
.section-lead strong { color: var(--primary); }

.ownership__compare {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-col {
  flex: 1;
  padding: 36px 32px;
}
.compare-col--saas {
  background: #fff;
  border: 1px solid var(--gray-200);
}
.compare-col--own {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
}
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-muted);
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.compare-col__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.compare-icon { font-size: 28px; }
.compare-col__head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
}
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.compare-list li strong { color: var(--gray-900); }
.compare-list--bad li::before {
  content: '✗';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.compare-list--good li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.ownership__ai {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ai-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.ai-card__icon { font-size: 40px; flex-shrink: 0; }
.ai-card__body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.ai-card__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}
.ai-card__body p:last-child { margin-bottom: 0; }
.ai-card__body strong { color: var(--primary); }

.cost-calc {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.cost-calc__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.cost-calc__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cost-row {
  display: grid;
  grid-template-columns: 220px 1fr 130px;
  align-items: center;
  gap: 16px;
}
.cost-row__label {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}
.cost-row__bar-wrap {
  height: 28px;
  background: var(--gray-100);
  border-radius: 6px;
  overflow: hidden;
}
.cost-row__bar {
  height: 100%;
  border-radius: 6px;
  transition: width .6s ease;
}
.cost-row__bar--saas { background: #fca5a5; }
.cost-row__bar--own  { background: #86efac; }
.cost-row__value {
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}
.cost-row__value--bad  { color: var(--red); }
.cost-row__value--good { color: var(--green); }
.cost-calc__note {
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}

/* ============================================================
   導入の流れ
   ============================================================ */
.flow {
  padding: 96px 0;
  background: var(--primary);
}
.flow .section-eyebrow { color: rgba(255,255,255,.7); }
.flow .section-title   { color: #fff; }
.flow__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
}
.step__num {
  font-size: 36px;
  font-weight: 900;
  color: rgba(255,255,255,.25);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.step__body h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.step__body p { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.7; }
.step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 24px;
  color: rgba(255,255,255,.4);
  align-self: center;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 96px 0;
  background: var(--gray-50);
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--gray-50); }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   デモ体験セクション
   ============================================================ */
.demo-trial {
  padding: 80px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}
.demo-trial__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}
.demo-trial__text .section-eyebrow {
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.demo-trial__text h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 16px;
}
.demo-trial__text p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.demo-trial__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-trial__features li {
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}
.demo-trial__card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(37,99,235,.12);
  min-width: 260px;
}
.demo-trial__card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.demo-trial__card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}
.demo-trial__card p {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .demo-trial__inner { grid-template-columns: 1fr; gap: 32px; }
  .demo-trial__card  { min-width: 0; }
}

/* .btn--outline variant for nav */
.btn--outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb !important;
}
.btn--outline:hover {
  background: #2563eb;
  color: #fff !important;
}

/* ============================================================
   CTA / お問い合わせ
   ============================================================ */
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.cta__text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 20px;
}
.cta__text p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.cta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta__badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

/* フォーム */
.cta__form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(12px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group--full { margin-bottom: 16px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.req {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
  font-family: inherit;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group select option { background: #1e293b; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.15);
}
.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 12px;
}

/* ============================================================
   フッター
   ============================================================ */
.footer {
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer__brand .nav__logo { margin-bottom: 14px; }
.footer__brand .logo-text { color: rgba(255,255,255,.8); }
.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}
.footer__links {
  display: flex;
  gap: 64px;
  justify-content: flex-end;
}
.footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  margin: 4px 0;
}
.footer__bottom a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: rgba(255,255,255,.8);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner         { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual        { order: -1; }
  .features__grid      { grid-template-columns: 1fr 1fr; }
  .feature-block--wide { grid-column: span 2; }
  .cta__inner          { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner       { grid-template-columns: 1fr; }
  .footer__links       { justify-content: flex-start; }
  .flow__steps         { flex-direction: column; }
  .step__arrow         { transform: rotate(90deg); padding: 8px 0; }
  .ownership__compare  { flex-direction: column; }
  .compare-vs          { padding: 12px 0; border: none; background: transparent; }
  .cost-row            { grid-template-columns: 1fr 1fr; }
  .cost-row__label     { grid-column: span 2; white-space: normal; }
}

@media (max-width: 680px) {
  .nav__links a:not(.btn) { display: none; }
  .problems__grid      { grid-template-columns: 1fr; }
  .features__grid      { grid-template-columns: 1fr; }
  .feature-block--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .stats__inner        { gap: 0; }
  .stat                { padding: 20px 28px; }
  .stat__divider       { display: none; }
  .form-row            { grid-template-columns: 1fr; }
  .cta__form           { padding: 24px 20px; }
  .ai-card             { flex-direction: column; gap: 12px; }
  .cost-row            { grid-template-columns: 1fr; }
  .cost-row__label     { grid-column: 1; }
  .cost-row__value     { text-align: left; }
}

/* ============================================================
   フォーム送信完了 / エラー
   ============================================================ */
.inquiry-sent {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
}
.inquiry-sent__icon {
  width: 56px;
  height: 56px;
  background: #22c55e;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.inquiry-sent h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.inquiry-sent p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.form-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.form-errors ul {
  margin: 6px 0 0;
  padding-left: 1.2rem;
}