@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Manrope:wght@500;700&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap');

:root {
  --bg: #f7fbf5;
  --surface: #ffffff;
  --surface-2: #fdfefb;
  --muted: #4b5d54;
  --text: #10231b;
  --accent: #1f8f68;
  --accent-2: #f59e0b;
  --border: #d5e5d5;
  --shadow: 0 18px 48px rgba(15, 36, 28, 0.12);
  font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  font-size: 13px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(120deg, #eef5ec, #dbece2, #f7fbf5, #e4f3e9);
  background-size: 300% 300%;
  animation: bgShift 22s ease infinite;
}

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

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: #f1f6ef;
}

.hero {
  background: linear-gradient(135deg, rgba(31, 143, 104, 0.12), rgba(245, 158, 11, 0.08));
  border-radius: 22px;
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: center;
  min-height: 70vh;
}

.hero h1 {
  margin: 6px 0 12px;
  font-size: 32px;
  letter-spacing: -0.01em;
}

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

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

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.2s ease;
  font-family: inherit;
}

.btn.primary {
  background: linear-gradient(135deg, #1f8f68, #167853);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 120, 83, 0.25);
}

.btn.secondary {
  background: #eef2ec;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn:active {
  transform: translateY(1px);
}

.hero-figure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.figure-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  background: #eef2ec;
  color: var(--muted);
}

.pill.accent {
  background: #c7f0d8;
  color: #0f3a2b;
  box-shadow: 0 10px 28px rgba(12, 70, 49, 0.12);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.intro-card {
  padding: 20px;
}

.intro-card h1 {
  margin: 4px 0 6px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.intro-card p {
  margin: 0;
}

.card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.list-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfef9, #f3f9f1);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.code-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.code-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.code-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.code-table th,
.code-table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  text-align: left;
}

.code-table th {
  background: #f5f8f2;
  font-weight: 800;
  color: var(--text);
}

.code-table td.code {
  font-family: 'Menlo', 'SFMono-Regular', Consolas, monospace;
  width: 90px;
}

.muted {
  color: var(--muted);
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.footer-copy {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.feature-card {
  display: block;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(251, 254, 249, 0.96), rgba(243, 249, 241, 0.94));
  box-shadow: 0 12px 24px rgba(15, 36, 28, 0.1);
  transition: transform 0.12s ease, box-shadow 0.18s ease, border 0.12s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #1f8f68;
  box-shadow: 0 18px 36px rgba(31, 143, 104, 0.18);
}

.feature-card .eyebrow {
  color: #1f8f68;
}

.feature-card .title {
  margin: 4px 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.feature-card .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #0b3a2b;
  background: #c7f0d8;
}

.feature-card .status.pending {
  background: #fef3c7;
  color: #8a5200;
}

@keyframes bgShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 10px 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--text);
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fbfef9;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}

.note {
  margin: 6px 0 0;
  font-size: 13px;
}

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

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav .brand {
    width: 100%;
    justify-content: space-between;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
  .nav a {
    padding: 10px 12px;
  }
}
.hero,
.card {
  backdrop-filter: blur(8px);
}
