/* ══════════════════════════════════════════════
   UneLabo Agri Robotics — LP Styles
   里山グリーン × 稲穂ゴールドの農×テックデザイン
   ══════════════════════════════════════════════ */

:root {
  --green-900: #12332a;
  --green-800: #1f4d3a;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --gold: #e9c46a;
  --gold-deep: #cc9a2e;
  --cream: #f5f1e8;
  --paper: #fbfaf5;
  --white: #ffffff;
  --ink: #17251f;
  --body: #3b4a43;
  --muted: #6d7c74;
  --line: #e3ddce;

  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(23, 37, 31, 0.06);
  --shadow: 0 12px 40px rgba(23, 37, 31, 0.1);
  --shadow-lg: 0 24px 60px rgba(23, 37, 31, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.pc-only { display: inline; }
.sp-only { display: none; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(45, 106, 79, 0.32);
}
.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 106, 79, 0.42);
}
.btn-ghost {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-600);
}
.btn-ghost:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 18px; font-size: 16px; }

/* ── Header ────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.scrolled {
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { color: var(--green-700); transition: color 0.3s; }
.header:not(.scrolled) .brand-mark { color: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--green-800);
  transition: color 0.3s;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color 0.3s;
  font-weight: 500;
}
.header:not(.scrolled) .brand-name,
.header:not(.scrolled) .brand-sub { color: var(--white); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color 0.25s;
}
.header.scrolled .nav a { color: var(--body); }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:not(.nav-cta):hover::after,
.nav a.active::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--green-900) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-deep); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 120;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.header.scrolled .hamburger span { background: var(--ink); }
.hamburger.active span { background: var(--ink); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  padding: 12px 40px;
}
.mobile-nav a:not(.mobile-cta):hover { color: var(--gold); }
.mobile-cta {
  margin-top: 18px;
  background: var(--gold);
  color: var(--green-900) !important;
  border-radius: 999px;
  padding: 14px 40px !important;
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 40px;
  line-height: 1;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 100px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, #143a2b 0%, #1f4d3a 45%, #2d6a4f 100%);
}
.hero-terraces {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,0.03) 60px 61px),
    radial-gradient(ellipse 80% 60% at 80% 110%, rgba(82,183,136,0.35), transparent 60%);
  opacity: 0.9;
}
.hero-terraces::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background:
    linear-gradient(to top, rgba(18,51,42,0.9), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 40px);
  clip-path: polygon(0 40%, 15% 30%, 35% 45%, 55% 28%, 75% 42%, 100% 30%, 100% 100%, 0 100%);
}
.hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(233,196,106,0.28), transparent 65%);
  filter: blur(20px);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 8px 18px;
  border: 1px solid rgba(233,196,106,0.5);
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
  margin-bottom: 28px;
}
.hero-lead {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 2;
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-lead strong { color: var(--gold); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-actions .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: var(--white); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  font-size: 13px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.badge b { color: var(--gold); }
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ── Sections base ─────────────────────────── */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green-600);
  margin-bottom: 16px;
}
.section-tag.light { color: var(--gold); }
.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.section-title.light { color: var(--white); }
.section-desc {
  margin-top: 20px;
  font-size: 16px;
  color: var(--muted);
}

/* ── Problem ───────────────────────────────── */
.section-problem { background: var(--cream); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green-600);
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 58px;
  line-height: 1;
  color: var(--green-700);
  margin-bottom: 20px;
}
.stat-unit { font-size: 26px; color: var(--gold-deep); }
.stat-label { font-size: 15px; color: var(--body); font-weight: 500; margin-bottom: 14px; }
.stat-src { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.problem-note {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
}
.problem-note strong { color: var(--green-800); }

.worry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.worry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.worry-icon {
  display: block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 18px;
}
.worry-card p {
  font-size: 14.5px;
  color: var(--body);
}
.worry-card strong { color: var(--green-800); }

/* ── Concept ───────────────────────────────── */
.section-concept {
  background: linear-gradient(155deg, var(--green-800), var(--green-900));
  color: var(--white);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.concept-lead .section-title { margin-bottom: 24px; }
.concept-text { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 2; }
.concept-text strong { color: var(--gold); }
.concept-points { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.concept-points li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.concept-points li:hover { transform: translateX(6px); background: rgba(255,255,255,0.1); }
.cp-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--green-900);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-head);
}
.concept-points h3 { font-family: var(--font-head); font-size: 18px; color: var(--white); margin-bottom: 4px; }
.concept-points p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.7; }

/* ── Products ──────────────────────────────── */
.section-products { background: var(--paper); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-500);
}
.product-card.is-lead { border-color: var(--gold); box-shadow: 0 10px 30px rgba(233,196,106,0.2); }
.product-status {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-700);
  background: var(--cream);
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}
.is-lead .product-status { background: var(--gold); color: var(--green-900); }
.is-station .product-status { color: var(--muted); }
.product-visual {
  background: linear-gradient(160deg, #eef3ee, #dfeae1);
  padding: 30px 24px;
  color: var(--green-700);
  display: grid;
  place-items: center;
}
.is-station .product-visual { color: var(--green-600); }
.robot-svg { width: 100%; max-width: 150px; height: auto; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--font-head); font-size: 21px; font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.product-role { font-size: 14px; font-weight: 700; color: var(--green-700); margin-bottom: 12px; }
.product-desc { font-size: 13.5px; color: var(--body); line-height: 1.75; flex: 1; }
.product-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  border: 1px dashed var(--gold-deep);
  border-radius: 999px;
  padding: 6px 14px;
  align-self: flex-start;
}

/* ── Robot detail ──────────────────────────── */
.section-robot { background: var(--cream); }
.robot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.robot-stage {
  background: radial-gradient(circle at 50% 40%, #ffffff, #e8efe8);
  border-radius: 24px;
  padding: 50px;
  box-shadow: var(--shadow);
  color: var(--green-700);
}
.robot-hero-svg { width: 100%; max-width: 380px; margin: 0 auto; }
.robot-content .section-title { margin: 12px 0 24px; }
.robot-desc { font-size: 16px; color: var(--body); margin-bottom: 28px; }
.robot-desc strong { color: var(--green-800); }
.robot-specs { list-style: none; margin-bottom: 32px; border-top: 1px solid var(--line); }
.robot-specs li {
  display: flex;
  gap: 20px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-key {
  flex-shrink: 0;
  width: 120px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-700);
}
.spec-val { color: var(--body); }

/* ── Comparison ────────────────────────────── */
.section-compare { background: var(--paper); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; }
.compare-table thead th {
  background: var(--green-800);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.compare-table tbody tr { border-bottom: 1px solid var(--line); }
.compare-table tbody td { color: var(--body); }
.compare-table tr.is-us { background: linear-gradient(90deg, rgba(233,196,106,0.16), rgba(82,183,136,0.1)); }
.compare-table tr.is-us td { color: var(--ink); font-weight: 500; }
.compare-table tr.is-us strong { color: var(--green-800); }

/* ── Developer ─────────────────────────────── */
.section-developer { background: linear-gradient(155deg, var(--green-900), #0d2820); color: var(--white); }
.developer-layout { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: center; }
.developer-portrait { text-align: center; }
.portrait-frame {
  width: 240px; height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-600), var(--green-700));
  color: rgba(255,255,255,0.4);
  border: 4px solid rgba(233,196,106,0.5);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  padding: 24px;
}
.portrait-cap { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--white); }
.portrait-cap span { display: block; font-size: 13px; font-weight: 400; color: var(--gold); margin-top: 4px; }
.developer-content .section-title { margin: 12px 0 24px; }
.developer-text { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 2; margin-bottom: 18px; }
.developer-text strong { color: var(--gold); }
.developer-facts { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.developer-facts li {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.developer-facts span { color: var(--gold); flex-shrink: 0; font-size: 11px; }

/* ── Exhibition ────────────────────────────── */
.section-exhibition { background: var(--cream); }
.exhibition-card {
  position: relative;
  background: linear-gradient(150deg, var(--green-700), var(--green-800));
  color: var(--white);
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.exhibition-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(233,196,106,0.35), transparent 70%);
}
.exhibition-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--green-900);
  background: var(--gold);
  padding: 8px 24px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.exhibition-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.4;
  margin-bottom: 24px;
  position: relative;
}
.exhibition-text { color: rgba(255,255,255,0.9); font-size: 16px; max-width: 640px; margin: 0 auto 36px; position: relative; }
.exhibition-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}
.exhibition-meta div { text-align: center; }
.exhibition-meta dt { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.exhibition-meta dd { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.exhibition-card .btn-primary { background: var(--gold); color: var(--green-900); position: relative; }
.exhibition-card .btn-primary:hover { background: var(--white); }

/* ── Contact ───────────────────────────────── */
.section-contact { background: var(--paper); }
.contact-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: block; margin-bottom: 22px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-label em { color: #c0392b; font-style: normal; font-size: 11px; margin-left: 6px; font-weight: 700; }
.form-label i { color: var(--muted); font-style: normal; font-size: 11px; margin-left: 6px; font-weight: 500; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-textarea { resize: vertical; line-height: 1.7; }
.form-select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232d6a4f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.15);
}
.form-input.error, .form-textarea.error, .form-select.error { border-color: #c0392b; }
.form-error-msg {
  display: none;
  font-size: 12.5px;
  color: #c0392b;
  margin-top: 6px;
}
.form-error-msg.show { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }

.form-complete {
  display: none;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 60px 32px;
  box-shadow: var(--shadow);
}
.form-complete.show { display: block; animation: fadeUp 0.5s var(--ease); }
.form-complete-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  background: var(--green-600);
  color: var(--white);
  border-radius: 50%;
  font-size: 38px;
}
.form-complete h3 { font-family: var(--font-head); font-size: 24px; color: var(--ink); margin-bottom: 14px; }
.form-complete p { color: var(--body); font-size: 15px; }

/* ── Confirm overlay ───────────────────────── */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18,51,42,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.confirm-overlay.show { display: flex; animation: fadeIn 0.3s ease; }
.confirm-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.35s var(--ease);
}
.confirm-title { font-family: var(--font-head); font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.confirm-lead { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.confirm-list { border-top: 1px solid var(--line); margin-bottom: 28px; }
.confirm-list > div { display: flex; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.confirm-list dt { flex-shrink: 0; width: 130px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--green-700); }
.confirm-list dd { font-size: 14px; color: var(--ink); word-break: break-word; }
.confirm-list dd.pre { white-space: pre-wrap; }
.confirm-actions { display: flex; gap: 14px; }
.confirm-actions .btn { flex: 1; }

/* ── Footer ────────────────────────────────── */
.footer { background: var(--green-900); color: rgba(255,255,255,0.82); padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand-name { font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--white); display: block; }
.footer-brand .brand-sub { font-size: 11px; letter-spacing: 0.18em; color: var(--gold); }
.footer-tagline { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-info p { font-size: 13.5px; line-height: 1.9; }
.footer-info b { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13.5px; color: rgba(255,255,255,0.8); transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ── 画像プレースホルダ（後日 実写へ差し替え）──
   SVGはあくまで仮絵。実写が届いたら各スロットに差し込む。
   破線枠＋📷ラベルで「ここに画像が入る」を明示する。 */
.img-slot { position: relative; }
.img-slot::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(45, 106, 79, 0.45);
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
}
/* 仮絵SVGは薄く見せ、被写体のおおよその位置だけ伝える */
.img-slot > svg,
.img-slot .robot-svg,
.img-slot .robot-hero-svg { opacity: 0.38; }
.img-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--green-900);
  background: rgba(233, 196, 106, 0.95);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: 0 3px 10px rgba(23, 37, 31, 0.18);
  pointer-events: none;
}
.img-tag::before { content: "📷"; font-size: 12px; }

/* ヒーロー背景に敷く実写用のメモ */
.hero-imgnote {
  position: absolute;
  right: 16px; bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  background: rgba(18, 51, 42, 0.55);
  border: 1px dashed rgba(233, 196, 106, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  backdrop-filter: blur(4px);
}
.hero-imgnote::before { content: "📷"; }

/* 開発者ポートレート（丸枠）用のメモ */
.portrait-imgnote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--green-900);
  background: rgba(233, 196, 106, 0.95);
  border-radius: 999px;
  padding: 5px 14px;
}
.portrait-imgnote::before { content: "📷"; font-size: 12px; }
.developer-portrait .portrait-frame { position: relative; }
.developer-portrait .portrait-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(233, 196, 106, 0.6);
  border-radius: 50%;
  pointer-events: none;
}
.developer-portrait .portrait-frame svg { opacity: 0.55; }

/* ── Reveal animation ──────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 980px) {
  .concept-grid, .robot-layout, .developer-layout { grid-template-columns: 1fr; gap: 40px; }
  .developer-layout { text-align: center; }
  .developer-facts li { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; margin-bottom: 40px; }
  .worry-grid { grid-template-columns: repeat(2, 1fr); }
  .robot-visual, .robot-stage { order: -1; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .product-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .worry-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .exhibition-card { padding: 44px 26px; }
  .exhibition-meta { gap: 24px; }
  .confirm-modal { padding: 28px 22px; }
  .confirm-list dt { width: 96px; }
  .robot-stage { padding: 32px; }
  .hero { padding: 100px 24px 80px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .stat-num { font-size: 48px; }
}
