/* ==========================================================================
   カラーパレット（CSS変数）＆ 共通リセット
   ========================================================================= */
   :root {
    --agave-green: #1E4620;
    --app-background: #0E1621;
  
    --bg-color: #0E1621;
    --bg-main: #0E1621;
    --bg-sidebar: #162332;
    --bg-card: #162332;
    --bg-hover: #38a33f;
  
    --text-main: #FFFFFF;
    --text-secondary: #E5E5E5;
    --text-tertiary: #8A8A8A;

    --btn-text: #FFFFFF;
  
    --border-color: rgba(255, 255, 255, 0.08);
  
    --accent-color: #1E4620;
    --accent-color-link: #38a33f;
  
    --premium-color: #8CCF8F;
  
    --glow-effect:
      0 0 35px rgba(30, 70, 32, 0.45),
      0 10px 20px rgba(30, 70, 32, 0.25);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* ==========================================================================
     ふんわり表示用アニメーション
     ========================================================================= */
  .fade-in-el {
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform;
  }
  
  /* 下にスクロールして画面に入ってきたとき：下から上に浮き上がる */
  .fade-in-el.is-visible.scroll-down {
    opacity: 1;
    animation: fadeFromBottom 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  
  /* 上にスクロールして画面に戻ってきたとき：上から下に降りてくる */
  .fade-in-el.is-visible.scroll-up {
    opacity: 1;
    animation: fadeFromTop 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  
  @keyframes fadeFromBottom {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeFromTop {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  /* ==========================================================================
     共通パーツ（バッジ・ボタン・カード・動画）
     ========================================================================= */
  .plan-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
  }
  
  .plan-badge.free {
    background-color: rgba(0, 184, 148, 0.13);
    color: #00b894;
  }
  
  .plan-badge.premium {
    background-color: rgba(253, 203, 110, 0.13);
    color: var(--premium-color);
  }
  
  .main-button {
    min-width: 240px;
    height: 54px;
    border-radius: 27px;
    border: none;
    background: var(--agave-green);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  
  .main-button:disabled {
    opacity: .7;
    cursor: not-allowed;
  }
  
  .main-button:hover {
    background-color: var(--bg-hover);
    color: var(--bg-color);
    box-shadow: var(--glow-effect);
  }
  
  .main-button:active {
    transform: scale(0.97);
  }

  #contact a {
    text-decoration: none;
  }
  
  #contact a:hover {
    text-decoration: underline;
  }
  
  .sub-divider {
    border: 0;
    border-top: 1px dashed var(--border-color); 
    margin: 16px 0; 
    opacity: 0.6;
  }
  
  .card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
  }
  
  .loop-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .text-keep {
    display: inline-block;
  }
  
  /* ==========================================================================
     ヘッダー ＆ 各セクション基礎
     ========================================================================= */
  .lp-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 16px 0;
  }
  
  .lp-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .brand-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .brand-logo-icon {
    width: 50px;
    height: 50px;
  }
  
  .brand-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-main);
  }
  
  .lp-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
  }
  
  .lp-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
  }

  .lp-nav a:hover {
    color: var(--accent-color-link);
    border-bottom-color: var(--accent-color-link);
  }
  
  .lp-section { padding-top: 50px; }
  
  .lp-section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
  }
  
  .lp-section-title span { color: var(--accent-color); }
  
  /* ヘッダー：スマホ対応 */
  @media (max-width: 767px) {
    .lp-nav { display: none; }
  }

  
  
  /* ==========================================================================
     ファーストビュー (Hero)
     ========================================================================= */
.hero-section {
  padding-top: 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-text {
  text-align: left;
}

.hero-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.25;
  letter-spacing: .03em;
}

.text-keep {
  display: block;
}

.hero-sub {
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 18px;
}

.hero-main-visual {
  max-width: 520px;
}

.hero-main-visual video {
  width: 100%;
  display: block;
  border-radius: 24px;
}

.hero-cta-group {
  margin-top: 40px;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.badge-soon {
  color: var(--text-secondary);
  font-size: 14px;
  margin-left: 70px;
}

  
  /* ==========================================================================
     機能
     ========================================================================= */
    .step-text-block {
      position: relative;
      display: block;
      padding-left: 60px;
    }
  
    .step-card-num {
      font-size: 2.4rem;
      font-weight: 900;
      color: var(--agave-green);
      position: absolute;
      top: 28px;
      left: 28px;
      line-height: 1;
    }
  
    .feature-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    
    .feature-card {
      display: flex;
      align-items: flex-start;
      gap: 24px;
      padding: 36px;
    }
    
    .feature-icon {
      flex-shrink: 0;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--agave-green);
      display: flex;
      align-items: center;
      justify-content: center;  
    }
  
    .feature-icon span {
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
    }
    
    .feature-content h3 {
      margin: 0 0 12px;
      font-size: 22px;
    }
    
    .feature-content p {
      margin: 0;
      color: var(--text-tertiary);
    }
    
    @media (max-width: 768px) {
      .feature-grid {
        grid-template-columns: 1fr;
      }
      .feature-card {
        padding: 28px;
      }
    }
  
    
  /* ==========================================================================
     外部連携リンク
     ========================================================================= */
  .community-links-section {
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.008);
    border-top: 1px solid var(--border-color);
  }
  
  .links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
  }
  
  .link-item-card {
    margin-bottom: 0;
    text-align: center;
    padding: 24px;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  .link-item-card:hover {
    transform: translateY(-4px);
    background-color: rgba(56, 163, 63, 0.08); /* --accent-color-link の薄い版 */
    border-color: rgba(56, 163, 63, 0.35);
    box-shadow: var(--glow-effect);
  }
  
  .link-item-card:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
  }
  
  .link-name { font-size: 1.1rem; font-weight: 800; margin-top: 6px; }
  .youtube-color { color: #ef4444; }
  .note-color { color: #10b981; }
  .x-color { color: var(--text-main); }
  
  .lp-footer { background-color: var(--bg-sidebar); border-top: 1px solid var(--border-color); padding: 60px 0 30px 0; }
 

  /* ==========================================================================
     フッター
     ========================================================================= */
  .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-bottom: 40px; }
  .footer-section h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
  .footer-section p { font-size: 0.88rem; color: var(--text-secondary); }
  .footer-links-list { list-style: none; }
  .footer-links-list li { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 2px; }
  .footer-highlight-link { color: var(--accent-color-link); font-weight: 600; }
  .footer-copyright { text-align: center; font-size: 0.8rem; color: var(--text-secondary); opacity: 0.5; border-top: 1px solid var(--border-color); padding-top: 24px; }