:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-muted: #f2f5f1;
  --text: #171717;
  --muted: #666a66;
  --line: #e3e5e1;
  --primary: #1f3d36;
  --primary-hover: #18312b;
  --primary-soft: #eef4ef;
  --accent: #b59a5b;
  --accent-strong: #806936;
  --accent-soft: #f4efe3;
  --shadow: 0 18px 44px rgba(31, 61, 54, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 14px 36px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: #ffffff;
}

.brand-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.bubble-shape {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-shape {
  fill: none;
  stroke: var(--accent-strong);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: 18px;
  color: #52625b;
  font-size: 13px;
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 15px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  color: #ffffff;
  background: var(--primary);
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: #cbd6cf;
  background: var(--surface-muted);
}

.button.wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #17201d;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 31, 28, 0.9) 0%, rgba(23, 31, 28, 0.72) 38%, rgba(23, 31, 28, 0.22) 78%),
    linear-gradient(180deg, rgba(23, 31, 28, 0.18), rgba(23, 31, 28, 0.18)),
    url("./assets/lp-hero-hotel-workspace.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hero .eyebrow {
  color: #e0c985;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 16px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
  margin-bottom: 12px;
}

h3 {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 8px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.8vw, 18px);
  margin-bottom: 24px;
}

.hero-actions,
.trial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 10px;
  margin-top: 28px;
}

.hero-proof div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof span,
.hero-proof strong {
  display: block;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.hero-proof strong {
  color: #ffffff;
  font-size: 14px;
  margin-top: 2px;
}

.section {
  padding: 86px 0;
}

.demo-section {
  padding: 30px 0 0;
  background: #ffffff;
}

.section.muted {
  background: var(--surface-muted);
}

.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.demo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(31, 61, 54, 0.08);
}

.demo-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.demo-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 0;
}

.demo-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.demo-steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfbf9;
}

.demo-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: var(--radius);
  padding: 3px 8px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.demo-steps strong {
  display: block;
  color: var(--text);
  margin-top: 10px;
}

.demo-steps p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.demo-cta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.demo-cta p {
  color: #3d4742;
  font-weight: 700;
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.problem-grid,
.workflow-grid,
.price-grid {
  display: grid;
  gap: 14px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid article,
.workflow-grid article,
.price-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #ffffff;
}

.problem-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.problem-grid p,
.workflow-grid p,
.price-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: #fbfbf9;
}

.product-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d9d3;
}

.product-toolbar strong {
  margin-left: 8px;
  color: #303b36;
  font-size: 13px;
}

.product-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 18px;
}

.review-pane,
.reply-pane {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.review-pane small,
.reply-pane small {
  color: var(--accent-strong);
  font-weight: 800;
}

.review-pane p,
.reply-pane p {
  color: #303b36;
  margin: 10px 0 14px;
}

.field-row,
.check-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
  color: #303b36;
  font-size: 13px;
  font-weight: 800;
}

.field-row span {
  color: var(--muted);
}

.check-row {
  display: block;
  color: var(--primary);
  background: var(--primary-soft);
  border: 0;
  border-radius: var(--radius);
  padding: 10px 12px;
}

.check-row.ok {
  color: #ffffff;
  background: var(--primary);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.result-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-board div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 118px;
  padding: 18px;
  background: #ffffff;
}

.result-board span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.result-board strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
  margin-top: 10px;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-grid article {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
}

.price-grid article.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.price-grid strong {
  color: var(--primary);
  font-size: 28px;
}

.price-grid ul,
.trial-notes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #303b36;
}

.recommend-label {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: var(--radius);
  color: #6b541b;
  background: #f3e5bd;
  font-size: 12px;
  font-weight: 800;
}

.trial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 36px;
  align-items: start;
}

.trial-copy p {
  color: var(--muted);
}

.trial-notes {
  margin-top: 18px;
}

.trial-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.trial-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.trial-form span {
  color: #303b36;
  font-size: 13px;
  font-weight: 800;
}

.trial-form input,
.trial-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: #ffffff;
}

.trial-form input:focus,
.trial-form select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 0;
}

.form-note a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-main {
  background: #ffffff;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  padding: 70px 0 36px;
  background: var(--surface-muted);
}

.legal-hero h1 {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 12px;
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-hero span {
  color: #52625b;
  font-size: 13px;
  font-weight: 800;
}

.legal-body {
  padding: 48px 0 76px;
}

.legal-layout {
  max-width: 920px;
  display: grid;
  gap: 18px;
}

.legal-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.legal-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.legal-section p {
  color: #303b36;
  margin-bottom: 0;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: #303b36;
}

.legal-notice {
  border: 1px solid #d7e1d9;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  background: #fffdf6;
}

.legal-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.legal-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.legal-table div:last-child {
  border-bottom: 0;
}

.legal-table strong,
.legal-table span {
  padding: 13px 14px;
}

.legal-table strong {
  color: var(--primary);
  background: var(--primary-soft);
}

.legal-table span {
  color: #303b36;
  border-left: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 26px 36px;
  color: var(--muted);
  background: #ffffff;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--primary);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  min-width: 220px;
  max-width: 360px;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #ffffff;
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 20px;
  }

  .header-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .problem-grid,
  .workflow-grid,
  .price-grid,
  .split-section,
  .trial-section,
  .demo-heading {
    grid-template-columns: 1fr;
  }

  .product-body,
  .result-board {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .header-cta {
    width: 100%;
  }

  .brand small {
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(23, 31, 28, 0.88), rgba(23, 31, 28, 0.64)),
      url("./assets/lp-hero-hotel-workspace.png") center / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 32px, 1160px);
    padding: 54px 0 40px;
  }

  .hero-actions,
  .demo-steps {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .demo-cta {
    display: grid;
  }

  .hero-actions .button,
  .demo-cta .button,
  .price-grid .button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .demo-section {
    padding: 18px 0 0;
  }

  .demo-panel {
    padding: 16px;
  }

  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  .site-footer {
    display: grid;
    padding: 22px 18px;
  }

  .footer-links {
    display: grid;
    justify-content: stretch;
  }

  .legal-hero {
    padding: 46px 0 28px;
  }

  .legal-body {
    padding: 34px 0 54px;
  }

  .legal-table div {
    grid-template-columns: 1fr;
  }

  .legal-table span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
