:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #1f2528;
  --muted: #66716f;
  --line: #ded8ce;
  --brand: #b52b28;
  --accent: #df7620;
  --green: #3b7f69;
  --shadow: 0 18px 50px rgba(31, 37, 40, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 216, 206, 0.8);
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  color: var(--brand);
}

.brand strong {
  font-size: 1.2rem;
}

.site-header nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.site-header nav a:hover,
.header-action:hover {
  color: var(--brand);
}

.header-action,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-action,
.primary-link {
  color: #fff;
  background: var(--brand);
}

.secondary-link {
  border: 1px solid var(--line);
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-metrics dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
}

.product-visual {
  position: relative;
  min-height: 580px;
}

.phone-frame {
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone-top {
  padding-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 900;
}

.category-rail {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.category-rail span {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: #f1eee8;
}

.category-rail .active {
  color: #fff;
  background: var(--brand);
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-item h3 {
  margin-bottom: 4px;
}

.menu-item p {
  margin-bottom: 8px;
  color: var(--muted);
}

.menu-item strong {
  color: var(--brand);
}

.dish-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
  background: #ece9e3;
}

.dish-photo.warm {
  color: #fff;
  background: var(--accent);
}

.phone-frame button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 1.05rem;
  font-weight: 900;
}

.print-card {
  position: absolute;
  right: 0;
  width: 220px;
  padding: 18px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.print-card strong,
.print-card span {
  display: block;
}

.print-card span {
  color: var(--muted);
}

.print-card.kitchen {
  top: 60px;
}

.print-card.front {
  bottom: 56px;
  left: 0;
  right: auto;
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-title h2,
.trial-section h2,
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.18;
}

.feature-grid,
.operation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.operation-grid div,
.strategy-list article,
.roadmap,
.steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(31, 37, 40, 0.06);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  color: var(--accent);
  font-weight: 900;
}

.feature-grid p,
.strategy-list p,
.trial-section p,
.operation-grid span {
  color: var(--muted);
}

.trial-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 36px;
  background: #fffaf1;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 18px;
}

.steps strong,
.steps span {
  display: block;
}

.strategy-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

.strategy-list {
  display: grid;
  gap: 14px;
}

.strategy-list article,
.roadmap {
  padding: 22px;
}

.roadmap ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap span {
  color: var(--brand);
  font-weight: 900;
}

.operation-grid div {
  padding: 22px;
}

.operation-grid strong,
.operation-grid span {
  display: block;
}

.cta {
  margin: 40px clamp(20px, 5vw, 72px) 72px;
  padding: 46px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
}

.cta .eyebrow,
.cta .secondary-link {
  color: #fff;
}

.cta .secondary-link {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

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

  .hero,
  .trial-section,
  .strategy-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .operation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-metrics,
  .feature-grid,
  .operation-grid {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: auto;
  }

  .print-card {
    position: static;
    width: auto;
    margin: 14px 0 0;
  }

  .cta {
    padding: 28px;
  }
}
