:root {
  color-scheme: light;
  --blue: #1167e8;
  --blue-dark: #0b56d8;
  --ink: #101828;
  --text: #263245;
  --muted: #667085;
  --line: #e6edf7;
  --soft: #f6f9ff;
  --white: #ffffff;
  --shadow: 0 18px 52px rgba(16, 24, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(50px, 4.3vw, 76px);
  line-height: 1.24;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--blue);
}

h1 .plain {
  color: var(--ink);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.42;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(22px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
  min-width: 154px;
  height: 34px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  color: #111827;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a,
.site-footer nav a {
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-link,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.login-link {
  min-width: 96px;
  border: 1px solid #d8e0ec;
  background: var(--white);
}

.header-cta,
.button.primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(17, 103, 232, 0.22);
}

.button.primary:hover,
.header-cta:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

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

.hero {
  display: grid;
  width: min(1560px, calc(100% - 88px));
  grid-template-columns: minmax(560px, 0.92fr) minmax(600px, 1.08fr);
  align-items: center;
  gap: 68px;
  min-height: 520px;
  padding-top: 52px;
  padding-bottom: 40px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
}

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

.product-shot {
  min-width: 0;
}

.display-stage {
  position: relative;
  padding: 28px 28px 56px;
  border: 1px solid #d8e6f8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 14%, rgba(23, 178, 106, 0.13), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(17, 103, 232, 0.16), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 54%, #eef5ff 100%);
  box-shadow: var(--shadow);
}

.display-device {
  overflow: hidden;
  border: 12px solid #111827;
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 26px 54px rgba(16, 24, 40, 0.24);
}

.display-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.display-topbar strong {
  color: var(--white);
}

.widget-board {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.75fr;
  gap: 14px;
  min-height: 356px;
  padding: 18px;
}

.widget-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.widget-card.large {
  grid-row: span 2;
  min-height: 266px;
  background:
    linear-gradient(145deg, rgba(17, 103, 232, 0.92), rgba(17, 178, 135, 0.86)),
    rgba(255, 255, 255, 0.08);
}

.widget-card.metric {
  background: rgba(247, 144, 9, 0.2);
}

.widget-card.accent {
  grid-column: span 2;
  background: rgba(122, 90, 248, 0.22);
}

.widget-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.widget-card strong {
  display: block;
  margin: 20px 0 8px;
  font-size: clamp(17px, 1.4vw, 24px);
  line-height: 1.35;
}

.widget-card.metric strong {
  font-size: 44px;
}

.widget-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.device-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 0 16px;
  border: 1px solid #d7e5f8;
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.problem-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-section p,
.feature-strip p,
.widget-catalog p,
.meeting-section p,
.steps p,
.plans p,
.faq p,
.contact-card p {
  color: var(--muted);
}

.display-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid #d6e2f1;
  border-radius: 16px;
  background: #f8fbff;
}

.display-scenes article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid #dbe6f6;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.display-scenes span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 22px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
}

.display-scenes strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.35;
}

.display-scenes p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 28px;
  text-align: center;
}

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

.feature-strip article,
.widget-catalog article,
.meeting-grid article,
.plans article,
.faq,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.04);
}

.feature-strip article {
  padding: 22px;
}

.widgets-section,
.plans {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

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

.widget-catalog article {
  min-height: 210px;
  padding: 22px;
}

.widget-catalog span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 9px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
}

.meeting-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid #d7e8ff;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(17, 103, 232, 0.1), transparent 54%),
    #f9fbff;
}

.meeting-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.meeting-grid article {
  padding: 22px;
}

.steps {
  text-align: center;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-row article {
  position: relative;
  min-height: 230px;
  padding: 30px 24px 28px;
  border: 1px solid rgba(17, 103, 232, 0.16);
  border-radius: 14px;
  background: #f4f8ff;
}

.step-row.compact article {
  min-height: 210px;
}

.step-row span {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

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

.plans article {
  padding: 28px;
}

.plans article.highlight {
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(17, 103, 232, 0.12);
}

.plans ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--text);
  list-style: none;
}

.plans li {
  position: relative;
  padding-left: 18px;
}

.plans li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.faq-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.faq,
.contact-card {
  padding: 28px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 900;
}

.faq details p {
  margin-bottom: 18px;
}

.contact-card {
  background:
    linear-gradient(135deg, rgba(17, 103, 232, 0.1), transparent 54%),
    #f9fbff;
}

.contact-card .button {
  width: min(320px, 100%);
  margin-top: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(22px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  justify-self: center;
  display: flex;
  gap: 24px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1400px) {
  .hero {
    width: min(1240px, calc(100% - 56px));
    grid-template-columns: minmax(500px, 0.92fr) minmax(500px, 1.08fr);
    gap: 34px;
  }

  h1 {
    font-size: clamp(46px, 4.4vw, 64px);
  }
}

@media (max-width: 1080px) {
  .hero,
  .problem-section,
  .meeting-section,
  .faq-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 48px, 800px);
  }

  .feature-strip,
  .widget-catalog,
  .step-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav a {
    padding: 13px 10px;
  }

  .plan-grid,
  .meeting-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer nav {
    justify-self: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  section {
    width: min(100% - 30px, 1160px);
    padding: 42px 0;
  }

  .hero {
    width: min(100% - 30px, 800px);
    padding-top: 36px;
  }

  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 132px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 24px;
  }

  h1 {
    font-size: clamp(41px, 12vw, 54px);
  }

  h2 {
    font-size: 25px;
  }

  .hero-actions,
  .contact-card {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .display-stage {
    padding: 14px 14px 58px;
    border-radius: 14px;
  }

  .display-device {
    border-width: 8px;
    border-radius: 14px;
  }

  .display-topbar {
    min-height: 48px;
    padding: 0 14px;
  }

  .widget-board,
  .feature-strip,
  .widget-catalog,
  .step-row {
    grid-template-columns: 1fr;
  }

  .widget-board {
    min-height: 0;
    gap: 10px;
    padding: 12px;
  }

  .widget-card,
  .widget-card.large,
  .widget-card.accent {
    grid-column: auto;
    grid-row: auto;
    min-height: 128px;
  }

  .device-caption {
    width: calc(100% - 42px);
    white-space: normal;
    text-align: center;
  }

  .display-scenes {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .meeting-section,
  .faq,
  .contact-card {
    padding: 22px;
  }
}
