:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF9F1C;
    --background-light: #F9F9F9;
    --text-dark: #2C3E50;
    --text-gray: #6B7879;
    --feature-box-bg: #FFFFFF;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-800: #9a3412;
    --orange-900: #7c2d12;
  
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
  }

  .highlight {
    color: var(--primary-orange); /* オレンジ色 */
    font-weight: bold; /* 太字にする場合 */
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0.5rem 1.25rem;
  }

  .btn-primary {
    background: linear-gradient(to right, var(--orange-500), var(--orange-600));
    color: white;
  }
  
  .btn-primary:hover {
    background: linear-gradient(to right, var(--orange-500), var(--orange-700));
  }
  

  /* ヘッダー */
  header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  header .logo h1 a {
    text-decoration: none;
    font-size: 1.8rem;
    color: var(--primary-orange);
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  header .logo h1 a img.logo-icon {
    width: 40px;
    height: auto;
    margin-right: 5px;
  }
  
  header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  header nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  header nav ul li a:hover {
    color: var(--primary-orange);
  }
  
  /* ヒーローセクション */
  .hero {
    background: white;
    color: var(--text-dark);
    text-align: center;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    z-index: 1;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    z-index: 1;
  }
  
  .hero_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
  
  .hero-screenshot {
    width: auto;
    height: 500px;
    border-radius: 8px;
    margin: 20px 0;
  }
  
  .cta-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top:20px
  }
  
  .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  }
  
  /* ヒーローセクション内のCTAボタン */
  .hero .cta-button {
    background-color: var(--primary-orange);
    color: white;
  }

  /* バッジ */
  .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-weight: bold;
  }
  
  .badge-teal {
    background-color: var(--orange-400);
    color: white;
  }

  /* 新機能紹介セクショn */
  .new-feature {
    background-color: var(--orange-100);
    padding: 20px 0;
  }

  .section-header{
    text-align: center;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin: 2rem auto;
  }

  .text-gradient-orange {
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .new-features-subtitle{
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .new-feature-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ←ここを修正 */
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .new-feature-box{
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .new-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .new-feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange-400), var(--orange-600));
  }

  .new-feature-text {
    margin-top: 1rem;
  }

  /* 使い方紹介セクショn */

  .how-to{  
    background-color: #f9fafb;
    padding: 20px 0;
    text-align: center;
  }

  .how-to-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ←ここを修正 */
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .how-to-box{
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }  

  .step-number {
    width: 2.5rem;
    aspect-ratio: 1 / 1; /* 1:1 を強制し、正方形を保つ */
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* ※heightは指定せず、aspect-ratio で管理する */
  }

  .step-image {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    height: 14rem;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
  }
  
  .step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
  }

  /* 機能紹介セクション */
  .features-container {
    scroll-margin-top: 70px;
  }
  
  .features {
    padding: 50px 0;
    text-align: center;
    color: white;
  }
  
  .features-grid {
    display: flex;
    background: 
      radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3), transparent 80%),
      radial-gradient(circle at 80% 30%, rgba(0, 0, 0, 0.2), transparent 40%),
      radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.25), transparent 100%),
      radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.15), transparent 30%),
      linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    background-blend-mode: overlay, overlay, overlay, overlay, normal;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
  }
  
  .feature {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--feature-box-bg);
    width: 800px;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    margin: 30px 0 60px;
    overflow: visible;
  }
  
  .feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  
  .feature h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: 700;
  }
  
  .feature p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .feature-screenshot {
    width: auto;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .feature-screenshot-over {
    width: auto;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: -50px 0;
    position: relative;
    z-index: 1;
  }
  
  /* 最終CTAセクション */
  .final-cta {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--orange-100);
  }
  
  .final-cta h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }



/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: 1rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.modal-open .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gray-800);
}

.modal-body {
  padding: 1.5rem;
}

.modal-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 1rem;
}

.signup-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--teal-100);
  color: var(--teal-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.success-message {
  color: var(--gray-600);
}

  
  /* レスポンシブ調整 */
  @media (min-width: 768px) {
    .sp-only {
      display: none;
    }
  }
  
  @media (max-width: 768px) {
    .sp-only {
      display: inline;
    }
    .feature {
      width: 280px;
      height: auto;
    }

    .new-feature-grid {
      grid-template-columns: repeat(1, 3fr); /* ←ここを修正 */
    }

    .how-to-grid {
      grid-template-columns: repeat(1, 3fr); /* ←ここを修正 */
    }

    .feature-screenshot {
      height: 120px;
    }
    .container {
      padding: 0 10px;
    }
    header .container {
      padding: 0 20px;
    }
    header .logo h1 a {
      font-size: 1.4rem;
    }
    .hero_container {
      flex-direction: column;
      gap: 20px;
    }
    .hero-screenshot {
      height: auto;
      width: 100%;
      max-width: 300px;
    }
    .hero h1 {
      font-size: 1.5rem;
      padding: 0 10px;
    }
    .hero p {
      font-size: 1rem;
      padding: 0 10px;
    }
    .feature {
      width: 90%;
      flex-direction: column;
      padding: 20px;
      margin: 15px 0;
    }
    .feature-screenshot,
    .feature-screenshot-over {
      height: auto;
      width: 100%;
      max-width: 300px;
      margin: 10px 0;
      order: 2;
    }
    .text-container {
      padding: 10px;
      order: 1;
    }
    .feature h2 {
      font-size: 1.3rem;
    }
    .feature p {
      font-size: 0.9rem;
    }
    .final-cta h2 {
      font-size: 1.5rem;
      padding: 0 10px;
    }
    .cta-button {
      padding: 12px 24px;
      font-size: 0.9rem;
    }
  }
  