:root {
  /* Brand Colors */
  --primary-color: #FF9900;
  --primary-light: #FFB84D;
  --primary-dark: #CC7A00;
  --accent-color: #FF8C69;
  /* Coral Pink Accent */

  /* Youthful & Fresh Palette */
  --bg-warm: #FFFFFF;
  /* Pure White for freshness */
  --bg-white: #FFFFFF;
  --bg-accent: #FFF9F5;
  /* Extremely pale peach/warm grey tint */

  /* Text Colors - Modern & Clean */
  --text-main: #333333;
  /* Darker grey */
  --text-light: #666666;
  /* Medium grey */
  --text-white: #FFFFFF;

  /* UI Elements - Soft & Friendly */
  --shadow-sm: 0 4px 16px rgba(255, 153, 0, 0.08);
  /* Colored shadow */
  --shadow-md: 0 8px 30px rgba(255, 153, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(255, 153, 0, 0.15);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  /* Modern Sans-serif */
  line-height: 1.8;
  background: var(--bg-warm);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

/* Switch Headings to Sans-serif for Youthful feel */
h1,
h2,
h3 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  /* Tighter spacing for modern feel */
}

/* Sans-serif for UI elements/buttons for clarity */
.sans-serif {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", sans-serif;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1000px;
  /* Slightly narrower for reading comfort */
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Hero Section */
header {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.hero-content {
  position: relative;
  padding: 60px 24px 80px;
  text-align: center;
  z-index: 2;
}

.hero-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 249, 240, 0.2), var(--bg-warm));
}

.app-icon-hero {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  margin: -50px auto 24px;
  /* Overlap with image */
  position: relative;
  z-index: 3;
  background: #fff;
  display: block;
}

h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", sans-serif;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  transition: var(--transition);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", sans-serif;
  width: 100%;
  max-width: 320px;
}

.cta-button-android {
  background: #3DDC84;
  box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
}

/* ヘッダー用のアンドロイドボタン - オレンジ系（プライマリカラーと同じ） */
/* 他の候補：
   - 青系: background: #4285F4; (Google Blue)
   - 紫系: background: #9C27B0; (落ち着いた紫)
   - グレー系: background: #757575; (シンプルなグレー)
   - ピンク系: background: #E91E63; (優しいピンク)
*/
.cta-button-android-header {
  background: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
  background: var(--primary-light);
}

.cta-button-android:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 220, 132, 0.4);
  background: #4FE89A;
}

.cta-button-android-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
  background: var(--primary-light);
}

/* Footer button styles - better visibility on dark background */
.cta-button-footer {
  background: #fff !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button-footer:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-button-android.cta-button-footer {
  background: #fff !important;
  color: #3DDC84 !important;
  border: 2px solid #3DDC84;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button-android.cta-button-footer:hover {
  background: #3DDC84 !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
  padding: 60px 24px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
  position: relative;
  letter-spacing: 0.05em;
}

h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-light);
  margin: 16px auto 0;
  border-radius: 2px;
  opacity: 0.6;
}

/* Empathy Section (Checklist) */
.empathy-section {
  background: #fff;
}

.checklist {
  max-width: 600px;
  margin: 0 auto;
}

.check-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
}

.check-icon {
  color: var(--primary-color);
  font-size: 20px;
  margin-right: 16px;
  margin-top: 4px;
}

.check-text {
  font-size: 16px;
  line-height: 1.8;
}

/* Solution Section */
.solution-section {
  background: var(--bg-accent);
  text-align: center;
}

.solution-intro {
  font-size: 18px;
  margin-bottom: 40px;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}

.benefit-title i {
  margin-right: 10px;
  font-size: 24px;
}

.benefit-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Features Grid (App Store style) */
.features-section {
  background: #fff;
}

.feature-grid {
  display: grid;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 32px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-light);
}

/* Reviews */
.reviews-section {
  background: var(--bg-warm);
}

.review-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.review-stars {
  color: #FFD700;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-body {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
  font-style: italic;
}

.review-meta {
  font-size: 13px;
  color: var(--text-light);
  text-align: right;
}

/* Footer */
footer {
  background: #4A3B32;
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .hero-image-container {
    height: 400px;
  }

  h1 {
    font-size: 36px;
  }

  .cta-buttons {
    flex-direction: column;
    max-width: 320px;
    gap: 16px;
  }

  .cta-button {
    max-width: 320px;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .review-card {
    margin-bottom: 0;
  }
}

/* Screenshots Section */
.screenshots-section {
  background: #fff;
  overflow: hidden;
}

.screenshot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.screenshot-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 4px 40px;
  /* Bottom padding for scrollbar/shadow */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  -ms-overflow-style: none;
  /* Hide scrollbar IE/Edge */
  scroll-behavior: smooth;
}

.screenshot-scroller::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.scroll-btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn.prev {
  left: 10px;
}

.scroll-btn.next {
  right: 10px;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--bg-accent);
  border-radius: 50%;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.screenshot-item {
  flex: 0 0 260px;
  scroll-snap-align: center;
  text-align: center;
}

.screenshot-frame {
  border: 8px solid #333;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  background: #000;
  aspect-ratio: 9/19.5;
  /* iPhone aspect ratio */
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-caption {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-accent);
}

.pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 2px solid transparent;
  transition: var(--transition);
}

.pricing-card.recommended {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.plan-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.plan-price span {
  font-size: 14px;
  font-weight: normal;
  color: var(--text-light);
}

.plan-period {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}

.plan-features li {
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
}

.plan-features li i {
  color: var(--primary-color);
  margin-right: 8px;
  margin-top: 4px;
}

/* FAQ Section */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--bg-accent);
  padding: 24px 0;
}

.faq-question {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: var(--text-main);
}

.faq-question::before {
  content: 'Q.';
  color: var(--primary-color);
  font-weight: 800;
  margin-right: 12px;
  font-size: 18px;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.8;
  padding-left: 30px;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .screenshot-scroller {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  .screenshot-item {
    flex: 0 0 220px;
  }

  /* デスクトップサイズでは横移動ボタンを非表示 */
  .scroll-btn {
    display: none;
  }

  /* デスクトップサイズではページネーションドットも非表示 */
  .pagination-dots {
    display: none;
  }
}
/* Language Switcher */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 10px;
}

.lang-switch a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-light);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  font-family: "Helvetica Neue", Arial, sans-serif;
  border: 1px solid transparent;
}

.lang-switch a:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 153, 0, 0.15);
}

.lang-switch a.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  pointer-events: none;
}
