/* ===== Hero ===== */
.hero {
  padding: 120px 2rem 80px;
  background: linear-gradient(170deg, var(--yc-parchment) 0%, #E8EDE2 40%, var(--yc-ash) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(58, 92, 59, 0.08) 0%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { animation: slideInLeft 0.8s ease; }

.hero-tagline {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  color: var(--yc-golden);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--yc-ink);
}
.highlight {
  background: linear-gradient(135deg, var(--yc-forest), var(--yc-forest-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--yc-stone);
  margin-bottom: 2rem;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--yc-forest);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--yc-stone);
}

.hero-image { animation: slideInRight 0.8s ease; }

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--yc-ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(28, 28, 26, 0.25);
  margin: 0 auto;
  animation: float 5s ease-in-out infinite;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--yc-forest) 0%, var(--yc-sky) 50%, var(--yc-earth) 100%);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  line-height: 1.4;
}

/* ===== Sections ===== */
.section {
  padding: 100px 2rem;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.8rem;
  color: var(--yc-ink);
}
.section-subtitle {
  text-align: center;
  color: var(--yc-stone);
  margin-bottom: 4rem;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Philosophy Band ===== */
.philosophy {
  background: var(--yc-forest);
  color: white;
  text-align: center;
  padding: 60px 2rem;
}
.philosophy-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1rem;
  letter-spacing: 0.05em;
}
.philosophy-attr {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(28, 28, 26, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(233, 228, 220, 0.8);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(28, 28, 26, 0.1);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.feature-icon--forest { background: rgba(58, 92, 59, 0.1); color: var(--yc-forest); }
.feature-icon--sky    { background: rgba(44, 107, 138, 0.1); color: var(--yc-sky); }
.feature-icon--golden { background: rgba(201, 106, 10, 0.1); color: var(--yc-golden); }
.feature-icon--earth  { background: rgba(107, 74, 42, 0.1); color: var(--yc-earth); }

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.feature-tag--new { background: rgba(201, 106, 10, 0.12); color: var(--yc-golden); }
.feature-tag--core { background: rgba(58, 92, 59, 0.1); color: var(--yc-forest); }

.feature-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--yc-ink);
}

.feature-description {
  color: var(--yc-stone);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== Deep Context (3-layer) ===== */
.deep-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.deep-layer {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--yc-ash);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.deep-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.deep-layer--entropy::before { background: var(--yc-sky); }
.deep-layer--biomimetics::before { background: var(--yc-golden); }
.deep-layer--culture::before { background: var(--yc-earth); }

.deep-layer:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(28, 28, 26, 0.08);
}
.deep-layer-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.deep-layer-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--yc-ink);
}
.deep-layer-sub {
  font-size: 0.8rem;
  color: var(--yc-stone);
  margin-bottom: 1rem;
  font-style: italic;
}
.deep-layer-body {
  font-size: 0.9rem;
  color: var(--yc-stone);
  line-height: 1.8;
  text-align: left;
}
.deep-layer-body li {
  margin-bottom: 0.4rem;
}

/* ===== Competitive ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 1000px;
  font-size: 0.9rem;
}
.compare-table th {
  background: var(--yc-forest);
  color: white;
  padding: 1rem 0.8rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.compare-table th:first-child {
  text-align: left;
  border-radius: 8px 0 0 0;
}
.compare-table th:last-child {
  border-radius: 0 8px 0 0;
}
.compare-table th.yc-col {
  background: var(--yc-golden);
}
.compare-table td {
  padding: 0.75rem 0.8rem;
  text-align: center;
  border-bottom: 1px solid var(--yc-ash);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--yc-ink);
}
.compare-table tr:hover td {
  background: rgba(58, 92, 59, 0.03);
}
.check { color: var(--yc-forest); font-weight: 700; }
.cross { color: #ccc; }
.yc-check { color: var(--yc-golden); font-weight: 900; font-size: 1.1rem; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(28, 28, 26, 0.06);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--yc-ash);
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured {
  border: 2px solid var(--yc-golden);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yc-golden);
  color: white;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.plan-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.plan-philosophy {
  font-size: 0.85rem;
  color: var(--yc-stone);
  margin-bottom: 1.5rem;
}
.price {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--yc-forest);
  margin: 1rem 0 0.5rem;
}
.price-period {
  font-size: 0.9rem;
  color: var(--yc-stone);
  font-weight: 400;
}
.price-note {
  font-size: 0.85rem;
  color: var(--yc-stone);
  margin-bottom: 1.5rem;
}
.features-list {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}
.features-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.features-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--yc-forest);
  font-weight: 700;
}

/* ===== B2G Band ===== */
.b2g-band {
  background: var(--yc-sky);
  color: white;
  padding: 60px 2rem;
}
.b2g-band .section-title { color: white; }
.b2g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}
.b2g-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.b2g-card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.b2g-card-desc {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(160deg, var(--yc-forest) 0%, var(--yc-forest-light) 50%, var(--yc-sky) 100%);
  color: white;
  padding: 80px 2rem;
  text-align: center;
}
.cta-section .section-title { color: white; }
.cta-section .section-subtitle { color: rgba(255, 255, 255, 0.85); }

/* ===== Footer ===== */
.footer {
  background: var(--yc-ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: white;
}
.footer-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--yc-stone);
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: white; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .deep-layers { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 0.5rem 0.4rem; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 2.4rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { justify-content: center; }
  .nav-menu { display: none; }
  .phone-mockup { width: 240px; height: 480px; }
  .deep-layers { grid-template-columns: 1fr; }
  .section { padding: 60px 1.5rem; }
  .section-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== Store Badges (統一ボタン) ===== */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 180px;
  justify-content: center;
  box-sizing: border-box;
}
.store-badge:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.store-badge--apple {
  background: #000;
  color: #fff;
}
.store-badge--android {
  background: rgba(0,0,0,0.08);
  color: var(--yc-stone);
  cursor: default;
}
.store-badge--light.store-badge--apple {
  background: #fff;
  color: #000;
}
.store-badge--light.store-badge--android {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}

/* ===== Mobile overflow fix ===== */
html, body {
  overflow-x: hidden;
}
.container {
  overflow-x: hidden;
}
