:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.28);
  --border: #e2e8f0;
  --header-bg: rgba(15, 20, 25, 0.95);
  --radius: 16px;
  --font: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.landing-page {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #27272a;
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fafafa;
  font-weight: 700;
  font-size: 1rem;
}

.landing-logo img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.landing-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.landing-logo-by {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-nav a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.landing-nav a:hover {
  color: #fff;
  background: #3f3f46;
}

.landing-nav-cta {
  color: #fff !important;
  background: var(--accent) !important;
  font-weight: 600;
}

.landing-nav-cta:hover {
  background: var(--accent-hover) !important;
}

.landing-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.landing-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fafafa;
  border-radius: 1px;
}

.landing-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.landing-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
}

.landing-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-hero-accent {
  color: var(--accent);
}

.landing-lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36em;
}



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

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.landing-btn:hover {
  transform: translateY(-1px);
}

.landing-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.landing-btn-primary:hover {
  background: var(--accent-hover);
}

.landing-btn-ghost {
  border-color: #cbd5e1;
  color: var(--text);
  background: #fff;
}

.landing-btn-ghost:hover {
  background: #f8fafc;
}

.landing-btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.landing-hero-card {
  display: flex;
  justify-content: center;
}

.landing-mock-window {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.landing-mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #f4f4f5;
}

.landing-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4d4d8;
}

.landing-mock-body {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.landing-mock-file {
  padding: 14px 16px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.landing-mock-file small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.landing-mock-file strong {
  font-size: 0.95rem;
}

.landing-section {
  padding: 72px 0;
}

.landing-section-alt {
  background: var(--bg);
}

.landing-section-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-section-lead {
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 40em;
}

.landing-guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px 32px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  border: 2px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 55%);
}

.landing-guide-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.landing-guide-steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
}

.landing-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.landing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.landing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.landing-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.landing-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.landing-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.landing-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
}

.landing-plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.landing-plan-card--plus {
  border-color: #93c5fd;
}

.landing-plan-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.landing-plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  margin-bottom: 8px;
}

.landing-plan-list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.landing-cta-band {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 55%, #92400e 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.landing-cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.landing-cta-band p {
  margin: 0 0 24px;
  opacity: 0.92;
}

.landing-cta-band .landing-btn-primary {
  background: var(--accent);
  color: #0f1419;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-cta-band .landing-btn-primary:hover {
  background: #f8fafc;
}

.landing-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.landing-stack-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #78350f;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.landing-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  background: #0f1419;
  color: #94a3b8;
}

.landing-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.landing-footer-brand {
  margin: 0;
  color: #f1f5f9;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.landing-footer-brand-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.landing-footer-tagline {
  margin: 0;
  max-width: 32em;
  line-height: 1.6;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.landing-footer-links a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 500;
}

.landing-footer-links a:hover {
  text-decoration: underline;
}

.landing-footer-copy {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
}

.landing-footer .rakuten-developer-credit {
  margin-top: 8px;
}

.landing-footer .rakuten-developer-credit img {
  display: inline-block;
  vertical-align: middle;
}

.tb-garage-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.8rem;
}

.tb-garage-credit-mark {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #b45309;
}

.tb-garage-credit-sub {
  color: var(--muted);
}

@media (max-width: 900px) {
  .landing-hero-grid,
  .landing-guide-card {
    grid-template-columns: 1fr;
  }

  .landing-hero-card {
    order: -1;
  }

  .landing-plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .landing-menu-toggle {
    display: flex;
  }

  .landing-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #18181b;
    border-bottom: 1px solid #3f3f46;
    padding: 12px 16px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  }

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

  .landing-header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .landing-hero {
    padding: 48px 0 56px;
  }

  .landing-section {
    padding: 48px 0;
  }
}
