/* Light theme only: the logo artwork and the design master are made for light backgrounds. */
:root {
  --primary: #1e5bd8;
  --primary-strong: #1749b0;
  --navy: #14285a;
  --cyan: #3bb4f2;
  --text: #14285a;
  --muted: #5a6a88;
  --line: #dfe7f5;
  --tint: #eef5fe;
  --soft: #f6f9ff;
  --chip: #e8f1fe;
  --gradient: linear-gradient(100deg, #1559e0 0%, #1aa7ec 100%);
  --shadow: 0 10px 30px rgba(20, 40, 90, 0.07);
  --radius: 20px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family:
    'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP',
    'Yu Gothic UI', 'Yu Gothic', Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  color: var(--navy);
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sprite {
  display: none;
}

.ico {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: 1272px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: var(--text);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  min-height: 64px;
  padding: 12px 30px;
  border-radius: 14px;
  font-size: 18px;
}

.btn-sm {
  min-height: 46px;
  padding: 8px 24px;
}

.btn-block {
  display: flex;
  width: 100%;
  min-height: 60px;
  border-radius: 12px;
}

.btn-solid {
  background: var(--primary);
  color: #ffffff;
}

.btn-solid:hover {
  background: var(--primary-strong);
}

.btn-gradient {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(30, 91, 216, 0.22);
}

.btn-gradient:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: #ffffff;
  border-color: #c9d8f3;
  color: var(--primary);
}

.header-actions .btn-outline {
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--primary);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  border-radius: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 100px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
}

.brand img {
  display: block;
}

.header-nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
}

.header-nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  gap: 38px;
  margin-left: 14px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f8fe 0%, #e9f2fd 100%);
  padding: 100px 0 96px;
}

.hero::after {
  content: '';
  position: absolute;
  right: -260px;
  bottom: -420px;
  width: 1100px;
  height: 900px;
  border-radius: 50%;
  background: rgba(196, 222, 250, 0.45);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

h1 {
  margin-top: 24px;
  font-size: clamp(30px, 3.9vw, 56px);
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.accent {
  color: var(--primary);
}

.lead {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  font-weight: 700;
  font-size: 15px;
  color: #3a4c72;
}

.hero-checks li,
.strip-checks li,
.checks li,
.plan-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-checks .ico {
  color: var(--primary);
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

/* Hero illustration (a stylized UI image, not real data) */
.hero-visual {
  position: relative;
  padding-bottom: 40px;
}

.laptop {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
}

.screen {
  display: grid;
  grid-template-columns: 30% 1fr;
  border: 12px solid #2a3550;
  border-radius: 18px 18px 6px 6px;
  background: #f5f8fd;
  box-shadow: 0 30px 60px rgba(20, 40, 90, 0.18);
  overflow: hidden;
  font-size: 13px;
}

.laptop-base {
  height: 18px;
  margin: 0 -4% 0 -4%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#e6ebf3, #b9c3d4);
}

.mock-side {
  padding: 22px 14px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.mock-brand {
  font-weight: 800;
  margin-bottom: 16px;
}

.mock-nav {
  padding: 8px 10px;
  border-radius: 6px;
  color: #3a4c72;
  font-weight: 700;
  font-size: 12px;
}

.mock-nav + .mock-nav {
  margin-top: 6px;
}

.mock-nav.is-active {
  background: var(--primary);
  color: #ffffff;
}

.mock-main {
  padding: 22px 18px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-title {
  font-weight: 800;
  font-size: 18px;
}

.mock-tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.mock-stat {
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(20, 40, 90, 0.06);
  font-size: 12px;
}

.mock-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.mock-stat b {
  font-size: 22px;
}

.mock-list {
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(20, 40, 90, 0.06);
}

.mock-list-title {
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-row em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 0 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.mock-row .warn {
  background: #fff1e0;
  color: #b05a00;
}

.mock-row .ok {
  background: #e3f7ec;
  color: #1a7f4b;
}

.mock-row .info {
  background: var(--chip);
  color: var(--primary);
}

.sign-card {
  position: absolute;
  right: -2%;
  bottom: -6px;
  width: 150px;
  padding: 22px 18px 18px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(20, 40, 90, 0.16);
  transform: rotate(5deg);
}

.sign-card i,
.op-doc i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #c9dbf6;
}

.sign-card i + i,
.op-doc i + i {
  margin-top: 10px;
}

.sign-card i:nth-of-type(3) {
  width: 70%;
}

.sign-card span,
.op-doc span {
  display: block;
  margin-top: 28px;
  color: var(--primary);
  font-family: 'Segoe Script', 'Brush Script MT', 'Snell Roundhand', cursive;
  font-size: 26px;
  line-height: 1.2;
}

/* Strip */
.strip {
  border-bottom: 1px solid var(--line);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 148px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.strip-title {
  font-weight: 800;
  font-size: 18px;
}

.strip-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 120px;
  font-weight: 700;
  color: #3a4c72;
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--primary);
  flex-shrink: 0;
}

.dot .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

/* Sections */
.section {
  padding: 128px 0;
}

.section-tint {
  background: linear-gradient(180deg, #f0f6fe 0%, #e6f0fd 100%);
  padding: 100px 0 112px;
}

.section-soft {
  background: var(--soft);
}

.kicker {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 17px;
}

h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.4;
}

.section-lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head.split .section-lead {
  margin: 0;
}

.section-head.center {
  text-align: center;
  margin-bottom: 56px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  display: flex;
  gap: 26px;
  padding: 32px 34px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.f-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--chip);
  color: var(--primary);
  font-size: 28px;
}

.f-body {
  flex: 1;
  min-width: 0;
}

.feature h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 24px;
  line-height: 1.5;
}

.feature p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.badge {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Lifecycle */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 12px 30px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.step + .step::before {
  content: '›';
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 800;
  font-size: 22px;
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
}

.step-ico {
  display: block;
  margin: 22px auto 0;
  width: 32px;
  height: 32px;
  color: var(--primary);
  stroke-width: 1.6;
}

.step h3 {
  margin-top: 14px;
  font-size: 26px;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* One place */
.one-place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.op-visual {
  position: relative;
  min-height: 480px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eaf3fe 0%, #f7faff 100%);
  overflow: hidden;
}

.op-ring {
  position: absolute;
  left: -40%;
  top: 22%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 60px solid rgba(204, 225, 250, 0.6);
}

.op-doc {
  position: absolute;
  left: 21%;
  top: 12%;
  width: 42%;
  min-height: 70%;
  padding: 48px 28px 28px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(20, 40, 90, 0.14);
  transform: rotate(-4deg);
}

.op-doc::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  border-style: solid;
  border-width: 0 48px 48px 0;
  border-color: transparent #5fa6f3 transparent transparent;
}

.op-doc i:nth-of-type(3) {
  width: 70%;
}

.op-doc b {
  position: absolute;
  right: -28px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 6px solid #ffffff;
  border-radius: 18px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 12px 30px rgba(30, 91, 216, 0.25);
}

.checks {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  font-weight: 800;
  font-size: 18px;
  color: #2c3e66;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  align-items: center;
}

.pricing-copy .section-lead + .section-lead {
  margin-top: 26px;
  font-size: 17px;
}

.plan {
  padding: 40px 56px 44px;
  border: 2px solid var(--primary);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(30, 91, 216, 0.1);
}

.plan-tag {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.plan-name {
  margin-top: 14px;
  font-size: 24px;
}

.plan-price {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--navy);
}

.plan-price .amount {
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price .unit {
  font-size: 22px;
  font-weight: 800;
}

.plan-tax {
  margin-top: 10px;
  color: var(--muted);
}

.plan-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  font-size: 17px;
  color: #2c3e66;
}

.plan-points .ico {
  color: var(--primary);
  stroke-width: 2.6;
}

.note {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}

summary::-webkit-details-marker {
  display: none;
}

.plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--chip);
  color: var(--primary);
  font-size: 20px;
  transition: transform 0.2s;
}

details[open] .plus {
  transform: rotate(45deg);
}

details p {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 16px;
}

/* CTA */
.cta-wrap {
  padding: 8px 0 76px;
}

.cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 68px 72px;
  border-radius: 28px;
  background: linear-gradient(100deg, #0d5be0 0%, #1290ea 60%, #3ec0f2 100%);
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.8vw, 38px);
}

.cta p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
}

.cta .btn {
  position: relative;
  z-index: 1;
  min-height: 60px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
}

.footer-logo {
  display: block;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.copy {
  margin-left: 120px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .header-nav {
    gap: 22px;
  }

  .header-actions {
    gap: 12px;
  }

  .strip-checks {
    gap: 16px 48px;
  }

  .copy {
    margin-left: 0;
  }
}

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

  .header-nav {
    display: none;
  }

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

  .hero {
    padding: 64px 0;
  }

  .hero-inner,
  .one-place,
  .pricing,
  .faq,
  .section-head.split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 640px;
  }

  .section {
    padding: 88px 0;
  }

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

  .step + .step::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .features {
    grid-template-columns: 1fr;
  }

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

  .cta {
    padding: 44px 24px;
  }

  .plan {
    padding: 32px 20px;
  }

  .legal {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 150px;
    height: auto;
  }

  .header-actions .btn {
    min-height: 40px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .btn-lg {
    width: 100%;
  }

  .hero h1 br:first-of-type {
    display: none;
  }

  .screen {
    font-size: 11px;
  }

  .mock-side {
    display: none;
  }

  .screen {
    grid-template-columns: 1fr;
  }

  .sign-card {
    width: 110px;
    right: 0;
  }

  .feature {
    padding: 24px 20px 28px;
    gap: 16px;
  }

  .f-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .feature h3 {
    font-size: 20px;
  }

  .feature p,
  .section-lead {
    font-size: 16px;
  }

  .op-visual {
    min-height: 340px;
  }

  .strip-title {
    width: 100%;
  }

  .pill {
    font-size: 13px;
  }
}
