/* Base */
html { scroll-behavior: smooth; }
body { margin: 0; background: oklch(0.98 0.01 85); }
a { color: #5E5E5E; text-decoration: none; }
a:hover { color: #4d9b34; }
* { box-sizing: border-box; }

.page {
  font-family: 'Noto Sans JP', sans-serif;
  color: #3f3f3f;
  background: oklch(0.98 0.01 85);
  width: 100%;
  overflow-x: hidden;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.98 0.01 85 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e9e2d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-fox {
  height: 34px;
  width: auto;
}

.header-wordmark {
  height: 20px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  color: #5a5a5a;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  background: #4d9b34;
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
}

.btn-download--lg {
  padding: 16px 32px;
  font-size: 17px;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 80px 5vw 60px;
  max-width: 1360px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EBDAB9;
  color: #6b5a2e;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 1.35;
  margin: 0 0 22px;
  color: #3d3d3d;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.9;
  color: #6a6a6a;
  margin: 0 0 34px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mockups {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  height: 420px;
}

.mockup-left {
  width: 190px;
  border-radius: 20px;
  border: 1px solid #eee3cc;
  box-shadow: 0 16px 34px rgba(0,0,0,0.1);
  transform: rotate(-10deg) translateY(24px);
}

.mockup-center {
  width: 210px;
  border-radius: 22px;
  border: 1px solid #eee3cc;
  box-shadow: 0 22px 44px rgba(0,0,0,0.14);
  z-index: 1;
  margin: 0 -18px;
}

.mockup-right {
  width: 190px;
  border-radius: 20px;
  border: 1px solid #eee3cc;
  box-shadow: 0 16px 34px rgba(0,0,0,0.1);
  transform: rotate(10deg) translateY(24px);
}

/* Section shared */
.section-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #3d3d3d;
  margin: 0 0 12px;
}

.section-title--wide { margin: 0 0 46px; }
.section-title--tight { margin: 0 0 16px; }

.section-subtitle {
  text-align: center;
  color: #8a8a8a;
  font-size: 15px;
  margin: 0 0 46px;
}

/* Features */
.section-features {
  padding: 70px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: #fff;
  border: 1px solid #eee3cc;
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #EBDAB9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #3d3d3d;
}

.feature-body {
  font-size: 14px;
  line-height: 1.75;
  color: #7a7a7a;
}

/* Screenshots */
.section-screenshots {
  padding: 80px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.screens-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.screen-img {
  width: 240px;
  border-radius: 20px;
  border: 1px solid #eee3cc;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

/* Subjects */
.section-subjects {
  padding: 70px 5vw;
  background: #fbf6ea;
}

.subjects-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.subject-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid #eee3cc;
}

.subject-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #3d3d3d;
}

.subject-altname {
  font-size: 11.5px;
  color: #9a9a9a;
}

.subject-status--available {
  font-size: 11px;
  font-weight: 700;
  color: #4a7a4a;
  background: #e5f2e5;
  padding: 4px 12px;
  border-radius: 100px;
}

.subject-status--coming {
  font-size: 11px;
  font-weight: 700;
  color: #a08a4a;
  background: #f5ecd6;
  padding: 4px 12px;
  border-radius: 100px;
}

.subject-price {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #3d3d3d;
  margin-top: 4px;
}

.subject-dl {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
}

.subject-dl-badge {
  height: 40px;
  width: auto;
}

.subject-renewing {
  font-size: 10.5px;
  color: #a08a4a;
  margin-top: 2px;
}

/* FAQ */
.section-faq {
  padding: 80px 5vw;
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #eee3cc;
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: #3d3d3d;
}

.faq-toggle-icon {
  font-size: 20px;
  color: #a08a4a;
  transition: transform 0.2s;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #7a7a7a;
}

/* Contact */
.section-contact {
  padding: 80px 5vw;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-desc {
  color: #8a8a8a;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
}

/* Footer CTA */
.footer-cta {
  padding: 80px 5vw;
  text-align: center;
  background: #3d3d3d;
  color: #fff;
}

.footer-fox {
  height: 56px;
  width: auto;
  margin: 0 0 24px;
  filter: brightness(0) invert(1);
}

.footer-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 30px;
  margin: 0 0 16px;
}

.footer-desc {
  color: #c9c9c9;
  font-size: 15px;
  margin: 0 0 30px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #565656;
  font-size: 12.5px;
  color: #999;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: #c9c9c9;
}

.footer-link:hover {
  color: #fff;
}

/* Legal / sub page */
.legal-main {
  padding: 70px 5vw 90px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-lede {
  text-align: center;
  color: #8a8a8a;
  font-size: 15px;
  margin: 0 0 46px;
}

.legal-blocks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-block {
  background: #fff;
  border: 1px solid #eee3cc;
  border-radius: 20px;
  padding: 28px 26px;
}

.legal-block h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #3d3d3d;
  margin: 0 0 14px;
}

.legal-block p {
  font-size: 14.5px;
  line-height: 1.9;
  color: #7a7a7a;
  margin: 0 0 10px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #7a7a7a;
}

.legal-contact-row + .legal-contact-row {
  margin-top: 12px;
}

.legal-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #a08a4a;
}

.legal-updated {
  text-align: center;
  margin: 32px 0 0;
  font-size: 12.5px;
  color: #a0a0a0;
}

.legal-back {
  display: block;
  text-align: center;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 50px 6vw 40px;
    gap: 36px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mockups {
    height: auto;
    padding-top: 10px;
  }

  .mockup-left, .mockup-right {
    width: 140px;
  }

  .mockup-center {
    width: 160px;
  }

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

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

@media (max-width: 640px) {
  .header {
    padding: 12px 6vw;
  }

  .nav-link {
    display: none;
  }

  .nav {
    gap: 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-features,
  .section-screenshots,
  .section-subjects,
  .footer-cta {
    padding: 50px 6vw;
  }

  .section-faq,
  .section-contact {
    padding: 60px 6vw;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .screen-img {
    width: 150px;
  }

  .mockup-left, .mockup-right {
    display: none;
  }

  .mockup-center {
    width: 200px;
    margin: 0 auto;
  }

  .footer-title {
    font-size: 24px;
  }
}

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