:root {
  --bg-color: #F8F7F2;
  /* 優しいベージュ */
  --text-primary: #333333;
  /* 落ち着いたチャコール */
  --text-secondary: #777777;
  /* 柔らかなグレー */
  --accent-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  --card-bg: transparent;
  /* 純白を廃止して透明に */
  --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(248, 247, 242, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  /* <a>タグとして使用した場合の下線を消す */
  cursor: pointer;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  border-radius: 50%;
  /* ロゴを丸く見せる */
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
}

/* メールアイコンボタン */
.nav-icon-btn {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s;
  margin-left: 1.5rem;
  color: var(--text-primary);
}

.nav-icon-btn:hover {
  opacity: 1;
}

.lang-switcher {
  margin-left: 2rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.globe-icon {
  opacity: 0.6;
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  /* 常に左寄せを強制 */
}

.text-gradient {
  color: #E87A7A;
  /* グラデーションではなく、優しい暖色に変更 */
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 650px;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: left;
  /* 常に左寄せを強制 */
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.floating-img {
  width: 100%;
  max-width: 380px;
  mix-blend-mode: darken;
  /* 背景より明るい色（白）を完全に消す */
  filter: brightness(1.05) contrast(1.05);
  /* わずかなオフホワイトを純白に飛ばして消去 */
  border-radius: 0;
  /* 画像の丸みをCSSで制御せず、素材に任せる */
  box-shadow: none;
  /* 外側の影を一旦消す */
}


/* Showcase */
.showcase {
  padding: 4rem 0;
  /* 8remから縮小 */
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 6rem;
  /* 12remから大幅に縮小 */
}

.showcase-item.reverse {
  direction: rtl;
}

.showcase-item.reverse .showcase-content {
  direction: ltr;
}

.showcase-visual img {
  width: 100%;
  max-width: 360px;
  mix-blend-mode: darken;
  filter: brightness(1.05) contrast(1.05);
  box-shadow: none;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.showcase-content h2 {
  font-size: 2.8rem;
  /* 2.5remからアップ */
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.showcase-content p {
  font-size: 1.4rem;
  /* 1.1remから大幅にアップ */
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Download & Footer */
.download {
  padding: 6rem 0 6rem;
  text-align: center;
  /* 文字の中央寄せを復活 */
}

.final-message {
  font-size: 3.5rem;
  /* 冒頭の文字サイズに合わせた迫力あるサイズ */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
  /* 大きい文字に合わせて少し詰めると高級感が出ます */
  color: var(--text-primary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ヒーローセクションのみ左寄せ */
.hero-cta {
  justify-content: flex-start;
}

.play-store-badge {
  height: 64px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.play-store-badge:hover {
  transform: scale(1.05);
}

.copyright {
  margin-top: 8rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

/* Footer */
.site-footer {
  padding: 3rem 0 4rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-link {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.6;
}

.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.footer-links-row .footer-link {
  display: inline;
  margin-bottom: 0;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 0.3rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    padding-top: 160px;
  }

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

  .hero-content h1 {
    font-size: 2rem;
    text-align: center;
    line-height: 1.4;
    margin: 0 auto 1.5rem;
    max-width: 90%;
  }

  .hero-content p span,
  .showcase-content h2 span,
  .showcase-content p span,
  .final-message span {
    display: inline-block;
  }

  .hero-content p {
    font-size: 1.05rem;
    margin: 0 auto 2.5rem;
    text-align: center;
    max-width: 100%;
    /* spanで制御するため100%に */
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-cta {
    display: flex;
    justify-content: center !important;
    width: 100%;
  }

  /* Navbar: Mobile */
  .navbar {
    padding: 0.8rem 0;
  }

  .navbar .container {
    padding: 0 1.5rem;
    /* コンテンツの左右余白と統一 */
  }

  .logo {
    font-size: 1rem;
    white-space: nowrap;
  }

  .nav-logo-img {
    height: 26px;
  }

  .navbar .btn-outline,
  .navbar .nav-icon-btn {
    display: none;
  }

  .lang-switcher {
    margin-left: 0;
  }

  /* Showcase: Mobile */
  .showcase {
    padding: 2rem 0;
  }

  .showcase-item {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
    margin-bottom: 5rem;
  }

  .showcase-item.reverse {
    direction: ltr;
  }

  .showcase-visual img {
    max-width: 260px;
  }

  .showcase-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .showcase-content p {
    font-size: 1.1rem;
  }

  /* Final CTA: Mobile */
  .final-message {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.6;
  }

  .play-store-badge {
    height: 54px;
  }

  .copyright {
    margin-top: 5rem;
  }
}