:root {
  --color-ink: #17201d;
  --color-text: #34403c;
  --color-muted: #66736f;
  --color-line: #dce4df;
  --color-paper: #fbfcfa;
  --color-soft: #eef5f1;
  --color-green: #006b4a;
  --color-green-dark: #004c36;
  --color-gold: #c49a45;
  --color-blue: #22577a;
  --shadow: 0 18px 50px rgba(20, 32, 28, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-paper);
  font-family: var(--font-sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(251, 252, 250, 0.94);
  border-bottom: 1px solid rgba(220, 228, 223, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.brand__text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--color-green);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 136px max(24px, calc((100vw - 1120px) / 2)) 72px;
  overflow: hidden;
  background: #16231f url("assets/hero.jpg") center 42% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 21, 0.48);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #fff;
}

.hero__label {
  margin: 0 0 18px;
  color: #e5c978;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(3.3rem, 8vw, 6.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  font-weight: 600;
  line-height: 1.95;
}

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

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
}

.store-link__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.store-link--primary {
  background: #fff;
  color: var(--color-green-dark);
  border-color: #fff;
}

.store-link--primary:hover {
  background: #edf4ef;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1120px;
  margin: -54px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.summary__item {
  min-height: 108px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow);
}

.summary__value {
  display: block;
  color: var(--color-green);
  font-size: clamp(1.28rem, 2.4vw, 1.65rem);
  font-weight: 900;
  line-height: 1.2;
}

.summary__label {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 96px 24px;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section__label {
  margin: 0 0 12px;
  color: var(--color-green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 800px;
  margin: 0 0 34px;
  color: var(--color-ink);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.38;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 210px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--color-ink);
  font-size: 1.18rem;
}

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

.section--screens {
  background: #fff;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--color-green) var(--color-soft);
}

.screenshot-strip img {
  width: 100%;
  min-width: 180px;
  border-radius: 8px;
  border: 1px solid var(--color-line);
  box-shadow: 0 12px 34px rgba(20, 32, 28, 0.1);
}

.section--support {
  background: var(--color-soft);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.support-layout p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--color-muted);
}

.support-mail {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--color-green);
  color: #fff;
  font-weight: 800;
}

.support-mail:hover {
  background: var(--color-green-dark);
}

.legal-links {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.legal-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  font-weight: 800;
}

.legal-links a::after {
  content: ">";
  color: var(--color-green);
}

.legal-links a:last-child {
  border-bottom: 0;
}

.site-footer {
  padding: 28px 24px;
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease,
    filter 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.feature-card,
.screenshot-strip img,
.legal-links {
  transition:
    opacity 0.75s ease,
    transform 0.75s ease,
    filter 0.75s ease,
    box-shadow 0.25s ease;
}

.reveal:not(.is-visible) .feature-card,
.reveal:not(.is-visible) .screenshot-strip img,
.reveal:not(.is-visible) .legal-links {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(1px);
}

.reveal.is-visible .feature-card:nth-child(2),
.reveal.is-visible .screenshot-strip img:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal.is-visible .feature-card:nth-child(3),
.reveal.is-visible .screenshot-strip img:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal.is-visible .feature-card:nth-child(4),
.reveal.is-visible .screenshot-strip img:nth-child(4) {
  transition-delay: 0.18s;
}

.reveal.is-visible .feature-card:nth-child(5),
.reveal.is-visible .screenshot-strip img:nth-child(5) {
  transition-delay: 0.24s;
}

.reveal.is-visible .feature-card:nth-child(6),
.reveal.is-visible .screenshot-strip img:nth-child(6) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .feature-card,
  .screenshot-strip img,
  .legal-links {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.84rem;
  }

  .brand__icon {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 620px;
    padding: 112px 20px 72px;
    background-position: center center;
  }

  .summary,
  .feature-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .summary {
    margin-top: 0;
    padding: 0;
  }

  .summary__item {
    box-shadow: none;
  }

  .section {
    padding: 72px 20px;
  }
}

@media (max-width: 560px) {
  .menu-button {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 38px rgba(20, 32, 28, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(12px);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 6px;
    color: var(--color-ink);
    font-size: 1rem;
  }

  .site-nav a:hover {
    background: var(--color-soft);
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-link {
    width: 100%;
  }

  .screenshot-strip {
    grid-template-columns: repeat(6, 78vw);
  }
}
