:root {
  --navy: #0f2742;
  --navy-2: #16395e;
  --blue: #2368a6;
  --teal: #2f9d92;
  --accent: #e7a72f;
  --ink: #172033;
  --muted: #607086;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #dce4ee;
  --shadow: 0 18px 50px rgba(18, 39, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}

h1,
h2,
h3,
p,
strong,
span,
a,
button,
dt,
dd {
  line-break: strict;
}

h1,
h2,
h3,
.hero-copy,
.lead,
.feature-card p,
.usecase-cards p,
.problem-list p,
.faq-question,
.faq-answer {
  word-break: auto-phrase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
.faq-answer {
  text-wrap: pretty;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #46566b;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(35, 104, 166, 0.2);
}

.header-cta:hover,
.primary-button:hover {
  background: #1b5a92;
}

.secondary-button {
  color: var(--navy);
  border: 1px solid #b8c7d8;
  background: rgba(255, 255, 255, 0.82);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 7vw, 100px) 82px;
  color: #fff;
  background: var(--navy);
}

#heroCanvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 39, 66, 0.96) 0%, rgba(15, 39, 66, 0.86) 45%, rgba(15, 39, 66, 0.34) 100%),
    linear-gradient(180deg, rgba(15, 39, 66, 0), rgba(15, 39, 66, 0.34));
}

.hero-inner {
  position: relative;
  width: min(920px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 790px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.seller-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

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

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

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

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.4;
}

p {
  margin: 0;
}

.lead,
.section-heading p,
.feature-card p,
.usecase-cards p,
.specs-layout p,
.final-inner p,
.problem-list p {
  color: var(--muted);
  font-size: 16px;
}

.problem {
  background: #fff;
}

.problem-grid,
.video-layout,
.usecase-layout,
.specs-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

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

.problem-list article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.problem-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

.video-section {
  background: #edf3f8;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  background: #0b1726;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.feature-section {
  background: #fff;
}

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

.feature-card {
  min-height: 420px;
  overflow: hidden;
  padding: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 39, 63, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #bdcad9;
  box-shadow: 0 16px 34px rgba(18, 39, 63, 0.1);
}

.feature-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fb;
}

.feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  color: #fff;
  background: rgba(15, 39, 66, 0.92);
  box-shadow: 0 6px 14px rgba(15, 39, 66, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3,
.feature-card p {
  margin-right: 24px;
  margin-left: 24px;
}

.feature-card p {
  margin-top: 12px;
}

.usecase {
  background: var(--paper);
}

.usecase-cards {
  display: grid;
  gap: 16px;
}

.usecase-cards article {
  padding: 24px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 39, 63, 0.06);
}

.usecase-cards p {
  margin-top: 8px;
}

.operations {
  color: #fff;
  background: var(--navy);
}

.operations h2 {
  color: #fff;
}

.operation-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.operation-table div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

kbd {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.specs {
  background: #fff;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.spec-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.spec-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.spec-list dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.faq {
  background: #edf3f8;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  float: right;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  border: 1px solid #cbd7e5;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.faq-answer.open {
  display: block;
}

.final-cta {
  padding: clamp(76px, 10vw, 128px) clamp(20px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  text-align: center;
}

.final-inner {
  max-width: 830px;
}

.final-inner h2 {
  color: #fff;
}

.final-inner p {
  max-width: 690px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.final-inner .primary-button {
  margin-top: 28px;
  background: var(--accent);
}

.site-footer {
  padding: 54px clamp(20px, 5vw, 64px) 26px;
  color: rgba(255, 255, 255, 0.72);
  background: #091827;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(240px, 1fr);
  gap: 36px clamp(28px, 5vw, 72px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #9fd7d1;
}

.footer-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
}

.footer-creator strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.footer-creator p:last-child {
  margin-top: 7px;
}

.footer-store a {
  display: inline-flex;
  font-weight: 800;
}

.footer-services {
  display: grid;
  gap: 10px;
}

.footer-services .footer-label {
  margin-bottom: 2px;
}

.footer-services a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-services span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  white-space: nowrap;
}

.footer-copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

@media (max-width: 1060px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 2px;
  }

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

  .hero {
    min-height: 820px;
    padding-top: 152px;
  }

  .problem-grid,
  .video-layout,
  .usecase-layout,
  .specs-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

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

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

  .footer-services {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .feature-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-services {
    grid-column: auto;
  }

  .footer-services a {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
