:root {
  --main-color: #8c785d;
  --bg-color: #fdfcf9;
  --text-color: #333;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  padding-bottom: 120px;
}
header {
  background-color: var(--main-color);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

section {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

#form-support {
  text-align: center;
  height: 1400px;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

footer {
  margin-top: auto;
  background-color: #eee;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

nav a {
  color: var(--main-color);
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.cta {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.store-button {
  display: inline-block;
  background-color: var(--main-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
  width: 86%;
  max-width: 300px;
  text-align: center;
}

.store-button:hover {
  background-color: #705f49;
}

/* モバイル最適化 */
@media (min-width: 600px) {
  .cta {
    flex-direction: row;
    justify-content: center;
  }

  .store-button {
    width: auto;
  }

  #form-support {
    height: 1000px;
  }
}

/* フッター nav のモバイル最適化 */
footer nav ul {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 600px) {
  footer nav ul {
    flex-direction: row;
    gap: 1.5rem;
  }
}
