/* =========================================================
   Syncena LP — styles.css
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F8FC;
  --text-heading: #0F1222;
  --text-body: #4A4F63;

  --brand-purple: #8B5CF6;
  --brand-blue: #5B7CFA;
  --brand-cyan: #38CFE0;
  --brand-gradient: linear-gradient(90deg, var(--brand-purple), var(--brand-blue), var(--brand-cyan));
  --brand-gradient-soft: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(91,124,250,0.14), rgba(56,207,224,0.14));

  --border-color: #E7E9F3;
  --shadow-sm: 0 2px 10px rgba(15, 18, 34, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 18, 34, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container-w: 1160px;
  --header-h: 72px;

  --ok: #1DAA6C;
  --wait: #B8860B;
  --late: #E0525C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 720px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #0F1222;
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(91, 124, 250, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(91, 124, 250, 0.38); }
.btn-ghost {
  background: transparent;
  color: var(--text-heading);
  border: 1.5px solid var(--border-color);
}
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.section { padding: 108px 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 48px;
  max-width: 620px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 18, 34, 0.06);
}
.header-inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo-link { display: flex; align-items: center; }

/* ロゴ画像(4688x4688)は中央の横帯にのみロゴタイプがあるため、
   固定サイズのラッパーで余白をクロップして表示する */
.logo-crop {
  display: block;
  position: relative;
  overflow: hidden;
  width: 170px;
  height: 33px;
  flex-shrink: 0;
}
.logo-crop img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 191px; /* 中央帯(高さ約17%)が約33px高になる拡大率 */
  width: auto;
  max-width: none;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--brand-blue); }

.header-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-heading);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 16px 24px 24px; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-alt);
}
.mobile-nav .btn { margin-top: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 96px;
  background: linear-gradient(180deg, #FBFBFF 0%, #FFFFFF 60%);
}
.hero-rings {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  opacity: 0.5;
}
.ring-a {
  width: 620px; height: 620px;
  top: -220px; right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(139,92,246,0.16), transparent 70%);
  border-color: rgba(139,92,246,0.25);
}
.ring-b {
  width: 460px; height: 460px;
  top: -60px; right: 40px;
  background: radial-gradient(circle at 40% 40%, rgba(91,124,250,0.14), transparent 70%);
  border-color: rgba(91,124,250,0.22);
}
.ring-c {
  width: 320px; height: 320px;
  top: 120px; right: 240px;
  background: radial-gradient(circle at 50% 50%, rgba(56,207,224,0.16), transparent 70%);
  border-color: rgba(56,207,224,0.25);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-heading);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.sp-only { display: none; }

/* =========================================================
   Pain points
   ========================================================= */
.card-grid { display: grid; gap: 24px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.pain-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
}
.pain-icon {
  display: flex;
  gap: -8px;
  margin-bottom: 20px;
  height: 30px;
  position: relative;
  width: 54px;
}
.pain-icon .dot {
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  opacity: 0.75;
  mix-blend-mode: multiply;
}
.dot-a { background: var(--brand-purple); left: 0; }
.dot-b { background: var(--brand-blue); left: 14px; }
.dot-c { background: var(--brand-cyan); left: 28px; }
.pain-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.pain-card p { font-size: 0.92rem; }

/* =========================================================
   Ecosystem diagram
   ========================================================= */
.eco-section { overflow: hidden; }
.eco-diagram {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.eco-center-card {
  position: relative;
  z-index: 2;
  width: min(440px, 90%);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 28px 28px 24px;
}
.eco-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-gradient-soft);
  color: var(--brand-purple);
  margin-bottom: 14px;
}
.eco-center-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.eco-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 12px 8px 12px 18px;
  margin-bottom: 18px;
  background: var(--bg-alt);
}
.eco-input-placeholder {
  font-size: 0.85rem;
  color: #8A8FA3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eco-input-btn {
  flex-shrink: 0;
  background: #0F1222;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
}
.eco-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-body);
}

.eco-nodes { position: absolute; inset: 0; z-index: 2; }
.eco-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-heading);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.eco-node:hover {
  transform: translate(-50%, -54%);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.eco-chips-mobile { display: none; }

.eco-message { text-align: center; margin-top: 56px; }
.eco-message-title {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 900;
  color: var(--text-heading);
  margin-bottom: 14px;
}
.eco-message-sub {
  font-size: 0.98rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* =========================================================
   Features
   ========================================================= */
.feature-block {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border-color);
}
.feature-block:first-of-type { border-top: none; }

.feature-badge {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(91, 124, 250, 0.28);
}
.feature-text { grid-column: 2; }
.feature-mock { grid-column: 3; grid-row: 1 / 3; }

.feature-reverse .feature-text { grid-column: 3; }
.feature-reverse .feature-mock { grid-column: 2; }
.feature-reverse .feature-badge { grid-column: 1; }

.feature-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.feature-text h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 16px;
}
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li { font-size: 0.94rem; color: var(--text-body); }
.feature-list strong { color: var(--text-heading); font-weight: 700; }
.feature-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient-soft);
  font-size: 0.88rem;
  color: var(--text-heading);
  font-weight: 500;
}

.feature-ai {
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  border-top: none;
  margin-bottom: 24px;
}

/* --- UI mocks --- */
.feature-mock {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px;
  font-size: 0.85rem;
}
.mock-window-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-window-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-color);
}
.mock-window-bar span:nth-child(1) { background: #F0A9A9; }
.mock-window-bar span:nth-child(2) { background: #F3D08A; }
.mock-window-bar span:nth-child(3) { background: #A9D8B4; }

.mock-table table { width: 100%; border-collapse: collapse; }
.mock-table th, .mock-table td {
  text-align: left;
  padding: 10px 8px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--bg-alt);
}
.mock-table th { color: #8A8FA3; font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-table td { color: var(--text-heading); }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-ok { background: rgba(29,170,108,0.12); color: var(--ok); }
.badge-wait { background: rgba(184,134,11,0.12); color: var(--wait); }
.badge-late { background: rgba(224,82,92,0.12); color: var(--late); }

.mock-bars { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-bar-row { display: flex; align-items: center; gap: 10px; }
.mock-bar-label { font-size: 0.76rem; width: 96px; flex-shrink: 0; color: var(--text-body); }
.mock-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
  display: block;
}
.mock-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.mock-chat { display: flex; flex-direction: column; gap: 10px; }
.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.6;
}
.chat-user {
  align-self: flex-end;
  background: var(--bg-alt);
  color: var(--text-heading);
  border-bottom-right-radius: 4px;
}
.chat-ai {
  align-self: flex-start;
  background: var(--brand-gradient-soft);
  color: var(--text-heading);
  border-bottom-left-radius: 4px;
}
.chat-ai-meta {
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--brand-purple);
  font-weight: 700;
}
.mock-input-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
}
.mock-input-placeholder { color: #A6ABBE; font-size: 0.78rem; }
.mock-send {
  background: #0F1222;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}

.mock-stock { display: flex; flex-direction: column; gap: 14px; }
.stock-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.stock-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-heading);
  font-size: 0.85rem;
}
.stock-qty { display: block; margin-top: 6px; font-size: 0.74rem; color: #8A8FA3; }

.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi-tile {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kpi-label { font-size: 0.72rem; color: #8A8FA3; font-weight: 500; }
.kpi-value { font-size: 1.15rem; font-weight: 700; color: var(--text-heading); }.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding: 0 4px;
}
.mock-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: var(--brand-gradient);
  opacity: 0.85;
}

.mock-search {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--bg-alt);
}
.mock-search-icon {
  width: 14px; height: 14px;
  border: 2px solid #A6ABBE;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.mock-search-icon::after {
  content: "";
  position: absolute;
  width: 6px; height: 2px;
  background: #A6ABBE;
  right: -6px; bottom: -1px;
  transform: rotate(45deg);
}

/* =========================================================
   Flow
   ========================================================= */
.flow-steps {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.flow-step {
  flex: 1 1 200px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gradient-soft);
  color: var(--brand-purple);
  font-weight: 700;
  margin-bottom: 16px;
}
.flow-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.flow-step p { font-size: 0.86rem; }
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.4rem;
  font-weight: 700;
  flex: 0 0 auto;
}

/* =========================================================
   FAQ
   ========================================================= */
.accordion { max-width: 760px; margin: 0 auto; }
.faq-section .eyebrow,
.faq-section .section-title { text-align: center; }
.accordion-item {
  border-bottom: 1px solid var(--border-color);
}
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 44px 22px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-heading);
  position: relative;
}
.accordion-trigger::before,
.accordion-trigger::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--brand-blue);
  transition: transform 0.25s ease;
}
.accordion-trigger::before {
  width: 14px; height: 2px;
  transform: translateY(-50%);
}
.accordion-trigger::after {
  width: 2px; height: 14px;
  transform: translate(-6px, -50%);
}
.accordion-trigger[aria-expanded="true"]::after {
  transform: translate(-6px, -50%) rotate(90deg);
  opacity: 0;
}
.accordion-panel {
  padding: 0 44px 24px 0;
}
.accordion-panel p { font-size: 0.92rem; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}
.required {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: var(--late);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-heading);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.15);
}
.form-row.has-error input,
.form-row.has-error textarea {
  border-color: var(--late);
}
.field-error {
  font-size: 0.8rem;
  color: var(--late);
  min-height: 1em;
}
.contact-form .btn { margin-top: 8px; }

.contact-success {
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
}
.contact-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.contact-success p { font-size: 1rem; color: var(--text-heading); font-weight: 500; }

/* =========================================================
   Company
   ========================================================= */
.company-table {
  border-top: 1px solid var(--border-color);
}
.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}
.company-row dt { font-weight: 700; color: var(--text-heading); font-size: 0.9rem; }
.company-row dd { margin: 0; font-size: 0.94rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #0F1222;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-crop {
  width: 155px;
  height: 30px;
  margin-bottom: 14px;
}
.footer-logo-crop img {
  height: 173px; /* 中央帯が約30px高になる拡大率 */
}
.footer-logo {
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.9rem; }
.footer-nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-copyright {
  margin-top: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* =========================================================
   Responsive
   ========================================================= */
/* ---------- Tablet (〜1024px) ---------- */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* feature: バッジ+テキストを1行目、モックは2行目全幅(中央寄せ・幅制限) */
  .feature-block,
  .feature-ai {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }
  .feature-badge { grid-column: 1; grid-row: 1; }
  .feature-text { grid-column: 2; grid-row: 1; }
  .feature-mock {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 620px;
    margin: 28px auto 0;
  }
  .feature-reverse .feature-badge { grid-column: 1; grid-row: 1; }
  .feature-reverse .feature-text { grid-column: 2; grid-row: 1; }
  .feature-reverse .feature-mock { grid-column: 1 / -1; grid-row: 2; }

  /* iOSのフォーカス時自動ズームを防ぐ(16px以上) */
  .form-row input,
  .form-row textarea { font-size: 16px; }
}

/* 導入の流れ: タブレット帯は2×2グリッド(矢印は非表示) */
@media (max-width: 1024px) and (min-width: 641px) {
  /* H1が「る。」だけで折返す帯があるため、1行に収まるサイズへ */
  .hero-title { font-size: clamp(1.9rem, 4.3vw, 2.3rem); }

  .flow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 760px;
  }
  .flow-arrow { display: none; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; width: 44px; height: 44px; }
  .header-inner { gap: 12px; }

  .section { padding: 76px 0; }

  .eco-nodes { display: none; }
  .eco-lines { display: none; }
  .eco-chips-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    justify-content: center;
    margin-top: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .eco-diagram { min-height: auto; flex-direction: column; }
  .eco-message { margin-top: 44px; }
}

/* ---------- Phone (〜640px) ---------- */
@media (max-width: 640px) {
  .sp-only { display: inline; }
  .card-grid-4 { grid-template-columns: 1fr; }

  .hero { padding: calc(var(--header-h) + 56px) 0 64px; }
  .hero-title { font-size: clamp(1.7rem, 7.4vw, 2.1rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .feature-ai { padding: 24px; }
  .feature-block,
  .feature-ai {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-badge,
  .feature-text,
  .feature-mock,
  .feature-reverse .feature-badge,
  .feature-reverse .feature-text,
  .feature-reverse .feature-mock {
    grid-column: 1;
    grid-row: auto;
  }
  .feature-badge { margin-bottom: 8px; }
  .feature-text { overflow-wrap: break-word; }
  .feature-mock { margin-top: 20px; }

  .flow-steps { flex-direction: column; }
  /* transform は .reveal.is-visible に上書きされるため rotate プロパティで回転 */
  .flow-arrow { rotate: 90deg; padding: 4px 0; }

  .company-row { grid-template-columns: 1fr; gap: 4px; }

  .footer-inner { flex-direction: column; }
  .footer-nav ul { gap: 4px 24px; }
  .footer-nav a { display: inline-block; padding: 10px 0; }

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

/* ---------- Small phone (〜430px) ---------- */
@media (max-width: 430px) {
  .kpi-tile { padding: 12px; }
  .kpi-value { font-size: 1rem; }
  .mock-bar-label { width: 84px; }
}

/* 広い画面では⓪AIカードを左右に張り出し、内側のテキスト/モック列を
   他の機能ブロックの列位置・幅と完全に揃える(padding 40pxを相殺) */
@media (min-width: 1280px) {
  .feature-ai {
    margin-left: -40px;
    margin-right: -40px;
  }
}
