/* ── 買い物メモ / Shopping List — marketing site palette ──────────────────────
   iOS アプリの light theme（クリーム×グリーン）を反映。
   screen(cream) #F7F5EC  card #FDFCF6  cardAlt #EFECDE  line #DBDACF
   ink #353A31  ink2 #5E6256  ink3 #8A8D80  ink4 #B5B7AC
   green #4EA75D  green-dark #357F42  green-tint #DBEDDC
   accents: coral #E1734C
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: #353a31;
  background-color: #f7f5ec;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: rgba(247, 245, 236, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(53, 58, 49, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}

.nav-logo h1 {
  color: #353a31;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav-menu a {
  text-decoration: none;
  color: #5e6256;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #4ea75d;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #5e6256;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  background-color: rgba(78, 167, 93, 0.12);
  color: #4ea75d;
}

.lang-btn.active {
  background-color: #4ea75d;
  color: #fff;
}

.lang-separator {
  color: #b5b7ac;
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(78, 167, 93, 0.18) 0%, transparent 58%),
    radial-gradient(circle at 82% 78%, rgba(78, 167, 93, 0.1) 0%, transparent 58%),
    linear-gradient(135deg, #f7f5ec 0%, #edf3ea 100%);
  color: #353a31;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(78, 167, 93, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(219, 237, 220, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #353a31;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #5e6256;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #4ea75d;
  color: white;
  box-shadow: 0 6px 22px rgba(78, 167, 93, 0.38);
}

.btn-primary:hover {
  background-color: #3f9350;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78, 167, 93, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: #5e6256;
  border-color: #dbdacf;
}

.btn-outline:hover {
  border-color: #4ea75d;
  color: #4ea75d;
  background-color: rgba(78, 167, 93, 0.07);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon-placeholder {
  width: 200px;
  height: 200px;
  background: transparent;
  border-radius: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 55px rgba(78, 167, 93, 0.3),
    0 0 0 1px rgba(53, 58, 49, 0.05);
}

.app-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: #353a31;
  letter-spacing: -0.01em;
}

/* Features Section */
.features {
  background-color: #f7f5ec;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fdfcf6;
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid #dbdacf;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(53, 58, 49, 0.05);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 167, 93, 0.5);
  box-shadow: 0 14px 32px rgba(53, 58, 49, 0.12);
}

.feature-icon {
  margin-bottom: 1.2rem;
}

.icon-placeholder {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #353a31;
}

.feature-card p {
  color: #5e6256;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #edf3ea 0%, #dbeddc 100%);
}

.download-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.download-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #353a31;
}

.download-info p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #5e6256;
}

.app-store-placeholder {
  display: inline-block;
  height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  background-color: #4ea75d;
  color: white;
  font-size: 0.95rem;
  line-height: 52px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(78, 167, 93, 0.38);
}

.app-store-placeholder:hover {
  background-color: #3f9350;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78, 167, 93, 0.5);
}

.download-requirements {
  background-color: #fdfcf6;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid #dbdacf;
  box-shadow: 0 4px 14px rgba(53, 58, 49, 0.06);
}

.download-requirements h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #353a31;
}

.download-requirements ul {
  list-style: none;
}

.download-requirements li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #dbdacf;
  color: #5e6256;
  font-size: 0.95rem;
}

.download-requirements li:last-child {
  border-bottom: none;
}

/* Privacy Section */
.privacy {
  background-color: #f7f5ec;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fdfcf6;
  padding: 3rem;
  border-radius: 22px;
  border: 1px solid #dbdacf;
  box-shadow: 0 4px 14px rgba(53, 58, 49, 0.06);
}

.privacy-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #353a31;
}

.privacy-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 2rem 0 0.8rem;
  color: #353a31;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.85;
  color: #5e6256;
  font-size: 0.95rem;
}

.privacy-content a {
  color: #4ea75d;
  text-decoration: none;
  font-weight: 700;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.privacy-update {
  font-size: 0.85rem;
  color: #8a8d80;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #dbdacf;
}

/* Contact Section */
.contact {
  background-color: #efece0;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-content > p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #5e6256;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  background: #fdfcf6;
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid #dbdacf;
  transition: all 0.3s ease;
  text-align: left;
  box-shadow: 0 2px 10px rgba(53, 58, 49, 0.05);
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 167, 93, 0.5);
  box-shadow: 0 14px 32px rgba(53, 58, 49, 0.12);
}

.contact-method h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #353a31;
}

.contact-method p {
  color: #5e6256;
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-method a {
  color: #4ea75d;
  text-decoration: none;
  font-weight: 700;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #eae7da;
  border-top: 1px solid #dbdacf;
  padding: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: #8a8d80;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .download-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    text-align: center;
  }
}

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .app-icon-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 36px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .privacy-content {
    padding: 2rem;
  }

  .contact-method {
    padding: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.app-icon-placeholder {
  animation: float 4s ease-in-out infinite;
}
