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

:root {
  --bg: #0a1020;
  --bg-soft: #0e1628;
  --panel: #111c33;
  --line: rgba(148, 163, 184, 0.18);
  --ink: #e6edf8;
  --muted: #8b99b3;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --amber: #f59e0b;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 24px 60px rgba(2, 8, 20, 0.55);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 70px;
  background: rgba(10, 16, 32, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1160px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #06281e;
  background: var(--emerald);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #9fb0ca;
  font-size: 14px;
  font-weight: 700;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-cta {
  padding: 10px 18px;
  color: #06281e;
  background: var(--emerald);
  font-size: 14px;
}

.header-cta:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  background: #34d399;
}

.btn-primary {
  color: #06281e;
  background: var(--emerald);
  padding: 16px 28px;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.28);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 15px 24px;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--emerald);
  color: var(--emerald);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(16, 185, 129, 0.16), transparent 36%),
    radial-gradient(circle at 6% 92%, rgba(245, 158, 11, 0.08), transparent 30%),
    linear-gradient(165deg, #0a1020 0%, #0d1830 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  min-height: 620px;
  margin: 0 auto;
  padding: 84px 24px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: 50px;
  line-height: 1.34;
  font-weight: 900;
}

.hero-lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: #a8b6cf;
  font-size: 18px;
}

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

.hero-note {
  margin: 20px 0 0;
  color: #667791;
  font-size: 13px;
}

.terminal-panel {
  align-self: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.panel-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald);
}

.panel-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.terminal-body {
  display: grid;
  padding: 8px 0;
}

.log-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.14);
  color: #a8b6cf;
  font-family: var(--mono);
  font-size: 13px;
}

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

.log-key {
  color: var(--emerald);
  font-weight: 700;
}

.up {
  color: #34d399;
}

.down {
  color: #f87171;
}

.panel-foot {
  margin: 0;
  padding: 14px 20px 16px;
  color: #667791;
  font-size: 12px;
  border-top: 1px solid var(--line);
}

.notice-band {
  background: rgba(245, 158, 11, 0.09);
  border-top: 1px solid rgba(245, 158, 11, 0.32);
  border-bottom: 1px solid rgba(245, 158, 11, 0.32);
}

.notice-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #fbbf24;
  font-size: 14px;
}

.notice-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #0a1020;
  background: var(--amber);
  font-weight: 900;
}

.section {
  padding: 84px 24px;
}

.section-panel {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.42;
  font-weight: 900;
}

.section-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.trust-grid,
.feature-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

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

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 38px;
}

.trust-card,
.feature-card,
.faq-card,
.contact-card,
.legal-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.trust-card {
  min-height: 120px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.trust-number {
  display: block;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

.trust-card span:last-child {
  display: block;
  margin-top: 12px;
  color: #9fb0ca;
  font-size: 13px;
  font-weight: 700;
}

.feature-card,
.faq-card {
  padding: 28px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.5);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #06281e;
  background: var(--emerald);
}

.feature-card:nth-child(2) .icon-box,
.feature-card:nth-child(5) .icon-box {
  color: #0a1020;
  background: var(--amber);
}

.feature-card:nth-child(3) .icon-box,
.feature-card:nth-child(6) .icon-box {
  background: #64748b;
}

.feature-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  line-height: 1.5;
}

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

.ledger-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: 48px;
  align-items: center;
}

.promise-list {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.promise-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.promise-num {
  font-family: var(--mono);
  color: var(--emerald);
  font-size: 15px;
  font-weight: 700;
}

.promise-item h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
}

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

.ledger-board {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.board-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.6fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: #a8b6cf;
  font-family: var(--mono);
  font-size: 13px;
}

.board-row:first-child {
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.07);
}

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

.board-row strong {
  color: #fff;
  font-weight: 700;
}

.cta-section {
  padding: 80px 24px;
  color: #eafff6;
  background: linear-gradient(135deg, #0a1020 0%, #065f46 140%);
  border-top: 1px solid var(--line);
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-inner h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 900;
}

.cta-inner p {
  margin: 12px 0 0;
  color: rgba(234, 255, 246, 0.74);
}

.site-footer {
  padding: 48px 24px 40px;
  color: rgba(148, 163, 184, 0.62);
  background: #070c18;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-meta {
  max-width: 940px;
  margin: 24px 0 0;
  color: rgba(148, 163, 184, 0.48);
  font-size: 12px;
  line-height: 1.9;
}

.footer-meta + .footer-meta {
  margin-top: 8px;
}

.footer-meta a {
  color: rgba(148, 163, 184, 0.72);
  text-decoration: underline;
}

.page-hero {
  padding: 80px 24px;
  background:
    radial-gradient(circle at 84% 20%, rgba(16, 185, 129, 0.14), transparent 34%),
    linear-gradient(165deg, #0a1020 0%, #0d1830 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 900;
}

.page-hero p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-main,
.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 82px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 700;
}

.contact-card {
  padding: 30px;
}

.info-list {
  display: grid;
}

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.info-label {
  color: #667791;
  font-size: 13px;
  font-weight: 700;
}

.info-value {
  color: #dbe4f3;
}

.email-button {
  width: 100%;
  margin-top: 24px;
}

.legal-box {
  margin-top: 22px;
  padding: 24px;
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.legal-box h2,
.legal-main h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.legal-box p,
.legal-main p,
.legal-main li {
  color: #a8b6cf;
  font-size: 15px;
}

.legal-box strong {
  color: #dbe4f3;
}

.legal-main a {
  color: var(--emerald);
  text-decoration: underline;
}

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

.legal-main ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

@media (max-width: 980px) {
  .hero-inner,
  .ledger-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .terminal-panel {
    max-width: 560px;
  }

  .trust-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 64px;
    padding: 10px 18px;
  }

  .nav-links {
    display: none;
  }

  .brand span:last-child {
    font-size: 13px;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    padding: 56px 18px 32px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .terminal-panel {
    display: none;
  }

  .section {
    padding: 58px 18px;
  }

  .section-title,
  .cta-inner h2 {
    font-size: 27px;
  }

  .trust-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .notice-inner {
    padding: 16px 18px;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 54px 18px;
  }

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

  .contact-main,
  .legal-main {
    padding: 38px 18px 62px;
  }

  .contact-card {
    padding: 22px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
