/* ===== リセット & ベース ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --key-color: #E36347;
  --key-light: #FF8A73;
  --key-pale: #FFF0ED;
  --bg-cream: #F9F6F3;
  --bg-warm: #EAE8E3;
  --text-brown: #4A2C17;
  --text-gray: #7A5A48;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(74,44,23,0.06);
  --shadow-md: 0 8px 32px rgba(74,44,23,0.08);
  --shadow-lg: 0 16px 48px rgba(74,44,23,0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-brown);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 56px;
  color: var(--text-brown);
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--key-color);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== 画像プレースホルダー ===== */
.placeholder-image {
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-warm));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 300px;
}

.placeholder-prompt {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-align: center;
  line-height: 1.6;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(160deg, var(--key-color) 0%, var(--key-light) 60%, #FFB199 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  font-size: 3.5rem;
  display: inline-block;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  line-height: 1.9;
  font-weight: 400;
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn img {
  height: 48px;
  width: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}

.store-btn:hover img {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-image {
  width: 280px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.hero-phone {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.2));
}

/* ===== 課題提起 ===== */
.problem {
  padding: 100px 24px;
  background: var(--bg-cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.problem-card p {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.problem-answer {
  text-align: center;
  font-size: 1.35rem;
  color: var(--key-color);
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ===== 機能紹介 ===== */
.features {
  padding: 100px 24px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 96px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  min-width: 280px;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  display: block;
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

.feature-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--key-pale);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.05em;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-brown);
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.feature-text p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 2;
}

/* ===== その他の機能 ===== */
.more-features {
  padding: 100px 24px;
  background: var(--bg-cream);
}

.mini-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.mini-feature {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mini-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.mini-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-brown);
}

.mini-feature p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== 使い方 ===== */
.how-to {
  padding: 100px 24px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--key-color), var(--key-light));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(227,99,71,0.3);
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.step-arrow {
  font-size: 2rem;
  color: var(--key-light);
  padding-top: 36px;
  font-weight: 700;
}

/* ===== 料金プラン ===== */
.pricing {
  padding: 100px 24px;
  background: var(--bg-cream);
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 32px;
  width: 320px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--key-color);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.pricing-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-cream);
  font-size: 0.95rem;
}

.pricing-card li::before {
  content: "\2713 ";
  color: var(--key-color);
  font-weight: 700;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-align: center;
}

.pricing-card.premium {
  border: 3px solid var(--key-color);
  background: linear-gradient(180deg, var(--key-pale) 0%, var(--white) 40%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--key-color), var(--key-light));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 24px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(227,99,71,0.3);
}

.price-unit {
  font-size: 1rem;
  font-weight: 400;
}

.price-alt {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: -16px;
  margin-bottom: 20px;
  text-align: center;
}

.addon-section {
  margin-top: 48px;
  text-align: center;
}

.addon-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-gray);
}

.addon-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.addon-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 28px;
  width: 240px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.addon-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.addon-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--key-color);
  margin-bottom: 8px;
}

.addon-card p:last-child {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 24px;
  background: linear-gradient(160deg, var(--key-color) 0%, var(--key-light) 60%, #FFB199 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.cta p {
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta .store-buttons {
  justify-content: center;
}

/* ===== フッター ===== */
footer {
  padding: 48px 24px;
  background: var(--text-brown);
  text-align: center;
  color: rgba(255,255,255,0.65);
}

.footer-app-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  font-size: 0.8rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .hero {
    padding: 56px 20px 0;
  }

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

  .hero-title .accent {
    font-size: 2.6rem;
  }

  .hero-image {
    width: 220px;
    margin-top: 36px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
  }

  .feature-number {
    font-size: 3rem;
  }

  .feature-text h3 {
    font-size: 1.3rem;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .problem {
    padding: 72px 24px;
  }

  .features {
    padding: 72px 24px;
  }

  .more-features {
    padding: 72px 24px;
  }

  .how-to {
    padding: 72px 24px;
  }

  .pricing {
    padding: 72px 24px;
  }

  .faq {
    padding: 72px 24px;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 24px;
  background: var(--bg-cream);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-brown);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--key-color);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}
