:root {
  --ink: #1f2933;
  --muted: #5f6c7b;
  --line: #d8dee8;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --accent: #d93857;
  --teal: #0e7c7b;
  --amber: #b7791f;
  --blue: #2457a6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  font-size: 0.93rem;
}

.nav-links a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.language-switch span {
  background: var(--ink);
  color: #fff;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.section,
.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.page-hero {
  padding-bottom: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  letter-spacing: 0;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  font-size: 1.16rem;
  color: #354052;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

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

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.policy-block,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.card h3,
.policy-block h2,
.price-card h3 {
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.82rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  width: 30%;
  color: var(--ink);
  background: #f9fafc;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin-bottom: 8px;
}

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

.screenshot-grid img,
.hero-shot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 41, 51, 0.08);
}

.notice {
  border-left: 4px solid var(--amber);
  background: #fff8e6;
  padding: 16px 18px;
  border-radius: 6px;
  color: #5c4516;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f9fafc;
  padding: 34px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.92rem;
}

.small {
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .grid.two,
  .grid.three,
  .grid.four,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding: 48px 0;
  }

  h1 {
    font-size: 2.4rem;
  }
}
