@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

body {
  font-family: "Roboto", sans-serif;
  background-color: #f0ece9;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

header {
  font-family: "Rubik Doodle Shadow", system-ui;
  font-size: 1.8em;
  font-style: normal;
  text-align: center;
  color: #1a1919;
  padding: 0px 0;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 150px 20px;
}

.app-intro {
  text-align: center;
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 95%;
  width: 100%;
}

.app-icon {
  width: 150px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

h2 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 2em;
}

p {
  font-weight: 400;
  margin: 10px 0;
  font-size: 1em;
}

.download-button img {
  width: 140px;
  height: auto;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  background: #f0ece9;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  position: absolute; /* ←絶対位置 */
  bottom: 0;
  margin-top: auto;
  width: 100%;
}

.footer-nav a {
  margin: 0 25px;
  text-decoration: none;
  color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .app-intro {
    padding: 30px;
  }

  .app-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  p {
    font-size: 1em;
  }

  .download-button img {
    width: 120px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav a {
    font-size: 0.95rem;
    margin-right: 15px;
    margin-left: 15px;
  }
}

@media (max-width: 480px) {
  header .container {
    padding: 0 10px;
  }

  nav ul {
    gap: 5px;
  }

  .app-intro {
    padding: 20px;
  }

  .app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 1.2em;
  }

  p {
    font-size: 0.9em;
  }

  .download-button img {
    width: 100px;
  }

  .footer-nav a {
    font-size: 0.85rem;
    margin-right: 8px;
    margin-left: 8px;
  }
}
