:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #171717;
  --muted: #666;
  --line: #deded8;
  --accent: #1f5f48;
  --accent-hover: #174937;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 222, 216, 0.85);
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover,
.about-copy a:hover,
.policy a:hover {
  color: var(--accent);
}

.hero {
  padding: 108px 0 96px;
}

.hero-inner {
  max-width: var(--max-width);
}

.eyebrow,
.app-meta {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1,
.policy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-copy {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.about h2,
.policy h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.section-heading h2,
.about h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.app-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.app-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

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

.muted-card {
  background: transparent;
}

.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.about-copy {
  max-width: 650px;
  color: var(--muted);
}

.about-copy p:first-child {
  margin-top: 0;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.policy-main {
  padding: 82px 0 96px;
}

.policy {
  max-width: 820px;
}

.policy h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.policy-updated {
  margin: 16px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy h2 {
  margin-top: 52px;
  padding-top: 4px;
  font-size: 1.45rem;
}

.policy p {
  color: #383838;
}

.policy a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.policy-note {
  margin-top: 54px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted) !important;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header .container {
    min-height: 62px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .hero {
    padding: 78px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .section {
    padding: 60px 0;
  }

  .app-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 28px;
  }

  .app-card {
    min-height: 250px;
    padding: 26px;
  }

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

  .policy-main {
    padding-top: 64px;
  }
}
