:root {
    --primary-orange: #00B900;
    --secondary-orange: #e5ffe5;
    --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));
  }
  
  /* ----------------------
   グローバルヘッダー共通スタイル
   ---------------------- */
.global-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

/* ロゴ */
.logo-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.logo h1 {
  display: flex;
  align-items: center;
  margin: 0;
}
.logo a {
  text-decoration: none;
  color: #39b54a;
  font-size: 1.125rem;
  font-weight: bold;
}

/* ナビ */
.global-nav {
  display: flex;
  gap: 1rem;
}
.global-nav .nav-item {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.global-nav .nav-item:hover {
  background: #f0f0f0;
}


  /* ヘッダー */
  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: 30px 45px;
    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:0px;
  }
  
  .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(--primary-orange);
    color: white;
  }

  /* 新機能紹介セクショn */

  .feature-item{
    position: relative
  }

  /* --- 白い角丸のコンテンツエリア --- */
  .content-bubble-right {
    background-color: #fff;
    border-radius: 50px; /* 上の角だけ丸くする */
    padding: 60px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 1; /* セクション番号より奥に配置 */
    margin-top: 20px; /* 数字と重ならないように少し余白を調整 */
    /* margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50% + 20px); 元のpadding-right: 20px;を足す */
  }
  .content-bubble-left {
    background-color: #fff;
    border-radius: 50px; /* 上の角だけ丸くする */
    padding: 60px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 1; /* セクション番号より奥に配置 */
    margin-top: 50px; /* 数字と重ならないように少し余白を調整 */
    /* margin-left: calc(50% - 50vw);
    padding-left: calc(50vw - 50% + 20px); 元のpadding-right: 20px;を足す */
  }


  .feature-index-right{
    position: absolute;
    top: 0px; /* 少しだけ上からの位置を調整 */
    right: 15px; /* 右からの位置を調整 */
    font-size: 60px;
    font-weight: 800;
    color: var(--primary-orange);
    z-index: 2; /* 白いカードより後ろに配置 */
    line-height: 1;
  }
  .feature-index-left{
      position: absolute;
      top: 0px; /* 少しだけ上からの位置を調整 */
      left: 15px; /* 左からの位置を調整 */
      font-size: 60px;
      font-weight: 800;
      color: var(--primary-orange);
      z-index: 2; /* 白いカードより後ろに配置 */
      line-height: 1;
  }


  .feature-title-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
  }

    /* 画像を配置するためのスタイル */
.feature-image2 {
  position: absolute; /* 親要素(.content-bubble)を基準に配置する */
  bottom: -280px;      /* 親要素の下辺から250pxはみ出させる */
  left: 50%;           /* 親要素の左から50%の位置へ */
  transform: translateX(-50%); /* 要素の半分の幅だけ左にずらして中央揃え */
  width: 70%;         /* 画像の幅（親要素に対して） */
  max-width: 320px;   /* 画像が大きくなりすぎないように最大幅を指定 */
}

/* 画像自体のスタイル */
.feature-image2 img {
  width: 100%;
  height: auto;
  display: block; /* 画像下の余分な隙間をなくす */
}

  /* 画像を配置するためのスタイル */
.feature-image {
  position: absolute; /* 親要素(.content-bubble)を基準に配置する */
  bottom: -280px;      /* 親要素の下辺から250pxはみ出させる */
  left: 50%;           /* 親要素の左から50%の位置へ */
  transform: translateX(-50%); /* 要素の半分の幅だけ左にずらして中央揃え */
  width: 40%;         /* 画像の幅（親要素に対して） */
  max-width: 320px;   /* 画像が大きくなりすぎないように最大幅を指定 */
}

/* 画像自体のスタイル */
.feature-image img {
  width: 100%;
  height: auto;
  display: block; /* 画像下の余分な隙間をなくす */
}

.feature-title-description{
  max-width: 90%; /* 横幅が親要素の90%までに制限される */
  margin: 310px auto 0; /* 上280px、左右は自動(中央寄せ)、下0の余白 */
  font-weight: bold;
}


  .new-feature {
    background-color: var(--secondary-orange);
    padding: 20px 0;
  }

  .section-header{
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    max-width: 48rem;
    margin-left: auto;   /* ← この行を追加 */
    margin-right: auto;  /* ← この行を追加 */
    /* margin: 2rem auto; */
  }

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

  .new-features-subtitle{
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 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(--primary-orange), var(--primary-orange));
  }

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


  .feature-end-cta {
  grid-column: 1 / -1; /* グリッドの1列目から最後まで広げる */
  text-align: center;  /* 中の要素を中央揃えにする */
  margin-top: 2rem;    /* 上の要素との間に余白を追加 */
}

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

  .how-to{  
    background-color: var(--secondary-orange);
    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 {
    font-size: 60px;
    font-weight: 800;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;

  
    /* ※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;
  }

  /*QAセクション*/
  /* セクション全体 */
  .faq-section {
    background-color: var(--prei); /* 背景の水色 */
    padding: 40px 15px;      /* 上下の余白を40px、左右の余白を15px */
  }

  /* 「よくある質問」タイトル */
  .faq-title {
    text-align: center;
    color: #333;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 30px;
  }

  /* 各Q&Aの白いカード */
  .faq-item {
    background-color: white;
    border-radius: 20px; /* 角を丸くする */
    padding: 20px;
    margin-bottom: 16px; /* カード間の隙間 */
  }
  /* 最後のカードの下の隙間をなくす */
  .faq-item:last-child {
    margin-bottom: 0;
  }

  /* 質問エリア (Qアイコン + 質問文) */
  .faq-question {
    display: flex;        /* アイコンとテキストを横並びに */
    align-items: center;  /* 上下中央に揃える */
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;  /* 質問と回答の間の隙間 */
  }

  /* Qアイコン */
  .q-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #E0F7FA; /* アイコンの薄い水色 */
    color: var(--primary-orange);            /* Qの文字の濃い水色 */
    border-radius: 50%;      /* 円形にする */
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;      /* アイコンと質問文の間の隙間 */
    flex-shrink: 0;          /* アイコンが縮まないようにする */
  }

  /* 回答エリア */
  .faq-answer {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    /* Qアイコンの分だけ字下げして、左端を揃える */
    padding-left: 34px; /* Qアイコン幅24px + 隙間10px */
  }


  /* 最終CTAセクション */
  .final-cta {
    text-align: center;
    padding: 80px 20px;
    background-color: white;
  }
  
  .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: 600px;
    }
    .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;
    }

    .content-bubble-right {
      margin-right: calc(50% - 50vw);
      padding-right: calc(50vw - 50% + 20px);
      border-radius: 80px 0 0 80px; /* 角丸をスマホ向けに調整 */
    }

    .content-bubble-left {
      margin-left: calc(50% - 50vw);
      padding-left: calc(50vw - 50% + 20px);
      border-radius: 0 80px 80px 0; /* 角丸をスマホ向けに調整 */
    }

    .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: 1.2rem;
    }
  }
  