:root {
  --ink: #10285a;
  --muted: #66748f;
  --line: #dfe7f5;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --blue: #2f7cf6;
  --blue-dark: #1956c6;
  --orange: #f59a10;
  --green: #2fa66a;
  --red: #e25757;
  --shadow: 0 18px 50px rgba(25, 51, 101, 0.14);
  --radius: 24px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 231, 245, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
  background: #eef4ff;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(47, 124, 246, 0.16), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
}

.hero-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 720px;
  padding: 76px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  line-break: strict;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  color: #52617d;
  font-size: 18px;
  font-weight: 650;
}

.hero-copy .lead {
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-copy,
.page-hero .container > div,
.guide-content,
.guide-block,
.feature-card,
.module-item > div {
  min-width: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(47, 124, 246, 0.28);
}

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

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

.button.store {
  min-width: 156px;
  color: #fff;
  background: #0e1b38;
}

.button.store span {
  display: block;
  line-height: 1.2;
}

.button.store small {
  display: block;
  color: #c8d2e8;
  font-size: 10px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.device {
  position: absolute;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.device.main {
  width: min(52%, 320px);
  right: 84px;
  top: 8px;
  z-index: 3;
}

.device.side {
  width: min(38%, 230px);
  left: 18px;
  top: 104px;
  z-index: 2;
  transform: rotate(-4deg);
}

.device.card {
  width: min(38%, 230px);
  right: 12px;
  bottom: 16px;
  z-index: 4;
  transform: rotate(3deg);
}

.device img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.floating-panel {
  position: absolute;
  left: 36px;
  bottom: 52px;
  z-index: 5;
  width: 250px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(25, 51, 101, 0.14);
}

.mini-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mini-value {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 950;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 58px 0;
}

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

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-header p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.screen-frame {
  display: flex;
  justify-content: center;
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-frame img {
  width: auto;
  max-height: 650px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
}

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

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(25, 51, 101, 0.06);
}

.feature-card strong,
.feature-card h3 {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 22px;
}

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

.module-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.module-item .icon-chip {
  margin: 0;
}

.module-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.module-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(25, 51, 101, 0.08);
}

.gallery-card img {
  width: auto;
  max-width: calc(100% - 24px);
  max-height: 420px;
  margin: 12px auto 0;
  height: auto;
  object-fit: contain;
  background: #f4f7fc;
}

.gallery-card figcaption {
  width: 100%;
  padding: 14px 16px 16px;
  font-size: 14px;
  font-weight: 850;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.15;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 22px 22px 78px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 16px;
}

.news-card {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.news-date {
  color: var(--orange);
  font-weight: 950;
}

.news-card h2,
.news-card h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.news-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.page-hero {
  padding: 72px 0 46px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.guide-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  align-self: start;
}

.guide-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.guide-nav a:hover {
  background: #eef4ff;
  color: var(--ink);
}

.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.guide-content {
  display: grid;
  gap: 22px;
}

.guide-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.guide-block h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.guide-block p {
  color: var(--muted);
  font-weight: 650;
}

.guide-block ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-weight: 650;
}

.guide-block h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  color: var(--muted);
  font-weight: 700;
}

.guide-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.guide-shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.guide-shot {
  justify-self: center;
  width: min(100%, 230px);
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 51, 101, 0.08);
}

.guide-shot img {
  width: auto;
  max-width: 100%;
  max-height: 390px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 18px;
  background: #f4f7fc;
}

.guide-shot figcaption {
  padding: 10px 4px 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.guide-callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  background: #fff8ec;
  color: #6a4a16;
  font-weight: 750;
}

.policy-summary {
  background: #f8fbff;
}

.policy-meta {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #143068, #2f7cf6);
  color: #fff;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.cta-panel .button.secondary {
  color: var(--ink);
}

.footer {
  padding: 44px 0;
  background: #0e1b38;
  color: #dbe5fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer img {
  width: 150px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
}

.footer h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 15px;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: #dbe5fa;
  text-decoration: none;
  font-size: 14px;
}

.footer p {
  color: #aab8d3;
  font-size: 13px;
}

.copyright {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #8fa0c3;
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 144px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .hero-grid,
  .split,
  .guide-layout,
  .page-hero .container,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy,
  .hero-copy .lead,
  .page-hero .container > div,
  .page-hero p,
  .guide-content,
  .guide-block {
    min-width: 0;
    max-width: 100%;
  }

  .lead,
  .page-hero p,
  .guide-block p,
  .guide-steps li {
    word-break: break-all;
  }

  .hero-visual {
    min-height: 470px;
  }

  .feature-grid,
  .gallery,
  .guide-steps,
  .guide-shot-grid,
  .metrics,
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .guide-nav a {
    white-space: nowrap;
    background: #fff;
  }

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

@media (max-width: 640px) {
  .container,
  .hero-grid,
  .header-inner {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .header-actions .button.secondary {
    display: none;
  }

  .hero-visual {
    min-height: 420px;
  }

  .device.main {
    right: 0;
    width: 60%;
  }

  .device.side {
    width: 46%;
  }

  .device.card {
    width: 44%;
  }

  .floating-panel {
    left: 4px;
    width: 210px;
  }

  .feature-grid,
  .gallery,
  .guide-steps,
  .guide-shot-grid,
  .metrics,
  .faq,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 32px;
    line-height: 1.16;
  }

  .page-hero h1 {
    font-size: 31px;
  }

  .lead,
  .page-hero p {
    font-size: 15px;
  }

  h1,
  .lead,
  .page-hero p,
  .guide-block p,
  .guide-steps li {
    word-break: break-all;
  }

  .hero-copy,
  .hero-copy .lead,
  .page-hero .container > div,
  .page-hero p,
  .guide-layout,
  .guide-content,
  .guide-block {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-copy,
  .hero-copy .lead {
    inline-size: calc(100vw - 28px);
  }

  .guide-block {
    padding: 22px;
  }

  .guide-shot {
    width: min(100%, 210px);
  }

  .guide-shot img {
    max-height: 360px;
  }
}
