:root {
  /* Colors */
  --primary-color: #4CAF50;
  --primary-gradient: linear-gradient(135deg, #66BB6A, #2E7D32);
  --accent-color: #0072ff;
  --accent-gradient: linear-gradient(135deg, #00c6ff, #0072ff);
  --pfc-p: linear-gradient(135deg, #FF5252, #FF8A80);
  --pfc-f: linear-gradient(135deg, #FBC02D, #FDD835);
  --pfc-c: linear-gradient(135deg, #448AFF, #82B1FF);
  --bg-color: #fcfdfc;
  --surface-color: #ffffff;
  --text-color: #2c3e50;
  --text-light: #5a6c7d;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  /* 行間を広めに設定（ユーザー要望） */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav a {
  font-weight: 500;
  color: var(--text-color);
}

nav a:hover {
  color: #2E7D32;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 5% 60px;
  background: white;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  /* 少し小さくしてインパクトを集中 */
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero .highlight {
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.6;
}

/* Concept Section (Story) */
.concept {
  padding: 80px 5%;
  background: var(--surface-color);
  display: flex;
  justify-content: center;
}

.concept-content {
  max-width: 800px;
  text-align: center;
}

.concept h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.concept h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.concept p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 2;
  text-align: center;
}

.keep-phrase {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  /* 各フレーズ内は左寄せ */
}

.concept b {
  color: var(--text-color);
  background: linear-gradient(transparent 70%, rgba(76, 175, 80, 0.2) 70%);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(76, 175, 80, 0.3);
}

.download-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.download-badges img {
  width: 220px;
  height: auto;
  transition: var(--transition);
}

.download-badges img:hover {
  transform: scale(1.05);
}

.hero-mockup {
  margin-top: 60px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  perspective: 1000px;
}

.hero-mockup img {
  width: 100%;
  max-width: 900px;
  /* 横長画像に合わせて広げる */
  aspect-ratio: 1024 / 500;
  /* フィーチャー画像の比率を維持 */
  object-fit: cover;
  margin: 0 auto;
  border-radius: 24px;
  /* 少し角丸を抑えてモダンに */
  box-shadow: var(--shadow-lg);
  display: block;
  transition: var(--transition);
}

.hero-mockup:hover img {
  transform: translateY(-10px) scale(1.02);
}

/* AI Analysis Section */
.ai-tech {
  padding: 100px 5%;
  background: white;
  text-align: center;
}

.analysis-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.flow-step {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
}

.flow-step i {
  font-style: normal;
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.flow-step h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Pricing Section */
.pricing {
  padding: 100px 5%;
  background: #f0f4f0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.price-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.price-card.premium {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 20px 0;
  color: var(--primary-color);
}

.price-val span {
  font-size: 1rem;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  padding: 120px 5%;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Features */
.features {
  padding: 80px 5%;
  background: var(--bg-color);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Feature Icons PFC Colors */
.feature-grid .feature-card:nth-child(1) .feature-icon {
  /* Protein: Red */
  background: linear-gradient(135deg, #FF5252, #FF8A80);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-grid .feature-card:nth-child(2) .feature-icon {
  /* Fat: Yellow */
  background: linear-gradient(135deg, #FBC02D, #FDD835);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-grid .feature-card:nth-child(3) .feature-icon {
  /* Carbs: Blue */
  background: linear-gradient(135deg, #448AFF, #82B1FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Gallery / Screenshots */
.gallery {
  padding: 80px 5%;
  background: var(--white);
}

.screenshot-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
  /* Firefox */
}

.screenshot-container::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

.screenshot-placeholder {
  flex: 0 0 250px;
  height: 500px;
  background: #f0f0f0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  border: 2px dashed #ddd;
  font-weight: 600;
}

.screenshot-img {
  flex: 0 0 auto;
  /* 幅は画像のアスペクト比に任せる */
  height: 500px;
  /* 高さを統一 */
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.screenshot-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #eee;
  padding: 60px 5% 30px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-nav a:hover {
  color: #4CAF50;
  text-decoration: underline;
}

.copyright {
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .concept h2 {
    font-size: 1.6rem;
  }

  .cta {
    padding: 80px 5%;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .download-badges img {
    width: 200px;
  }

  /* Mobile: Horizontal Scroll */
  .screenshot-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .screenshot-container::-webkit-scrollbar {
    display: none;
  }

  /* スマホのときはプレースホルダーのサイズを少し小さくするなど調整も可能 */
}