/* ===========================================
 * STYLES.CSS
 * 統合スタイルシート
 * =========================================== */

/* 
 * 目次：
 * 1. リセット・基本設定
 * 2. 変数・カラーパレット
 * 3. レイアウト
 * 4. ヘッダー
 * 5. ヒーローセクション
 * 6. イントロダクションセクション
 * 7. 機能セクション
 * 7.5 プロンプト編集ツールセクション
 * 8. ユースケースセクション
 * 9. 製品仕様セクション
 * 10. フッター
 * 11. アニメーション
 * 12. ユーティリティ
 * 13. メディアクエリ
 */

/* ===========================================
 * 1. リセット・基本設定
 * =========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: var(--brand-green);
  transition: var(--transition-standard);
}

a:hover {
  color: var(--brand-green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

sup {
  font-size: 0.6em;
  vertical-align: super;
}

.trademark {
  font-size: 0.4em;
  vertical-align: super;
}

/* ===========================================
 * 2. 変数・カラーパレット
 * =========================================== */
:root {
  /* カラーパレット */
  --brand-green: #11b463;
  --brand-green-light: #1fc337;
  --brand-green-dark: #0a8c4d;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f7f7f7;
  --bg-dark: #333333;
  --accent-color: #ff9500;
  
  /* フォントサイズ */
  --font-xs: clamp(0.75rem, 1vw, 0.875rem);
  --font-sm: clamp(0.875rem, 1.2vw, 1rem);
  --font-md: clamp(1rem, 1.5vw, 1.25rem);
  --font-lg: clamp(1.25rem, 2vw, 1.75rem);
  --font-xl: clamp(1.75rem, 3vw, 2.5rem);
  --font-xxl: clamp(2.5rem, 4vw, 4rem);
  
  /* 間隔 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  /* その他 */
  --border-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition-standard: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===========================================
 * 3. レイアウト
 * =========================================== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===========================================
 * 4. ヘッダー
 * =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-standard);
  background-color: rgba(51, 51, 51, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1440px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 28px;
  margin-right: var(--spacing-xs);
  transition: var(--transition-standard);
}

.header-logo span {
  color: var(--text-light);
  font-size: var(--font-md);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
}

.nav-link {
  color: var(--text-light);
  font-size: var(--font-sm);
  position: relative;
  padding: var(--spacing-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-green);
  transition: var(--transition-standard);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.sticky-nav {
  /* ヘッダーを一旦隠してから */
  position: fixed;
  top: -70px;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  z-index: 1000;
  transition: top 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.sticky-nav-visible {
  /* スクロール検知後にこのクラスを JS で付与 */
  top: 0;
}

.sticky-nav__logo {
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2rem;
}

.sticky-nav__logo img {
  height: 20px;
  margin-right: 10px;
}

.sticky-nav__links {
  display: flex;
  gap: 20px;
}

.sticky-nav__links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.sticky-nav__links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===========================================
 * 5. ヒーローセクション/動画セクション
 * =========================================== */
.video-section {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-section__background {
  width: 100%;
  height: 101%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.video-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(5%, 10%);
  color: #fffff6;
  text-align: center;
  width: 28%;
  font-size: clamp(1.2rem, 2vw, 4.0rem);
  font-weight: normal;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.video-section__subtitle {
  font-size: clamp(0.4rem, 1.2vw, 1.2rem);
  font-weight: normal;
  margin-top: 10px;
}

.video-section__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.video-section__divider-line {
  width: 100%;
  border: none;
  border-top: 1px solid #fffff6;
  margin: 0;
}

.video-section__divider-text {
  margin: 1px 0;
  font-size: clamp(1.2rem, 4.8vw, 9rem);
  color: #fffff6;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  transform: translateY(-5px);
  background-color: transparent;
  padding: 0 6px;
}

.video-section__ref-link{
  font-size: clamp(0.4rem, 1.2vw, 1.2rem);
  margin-top: 4px;
  line-height: 1.4;
}

.video-section__ref-link a{
  color: #fffff6;
  text-decoration: none;
}

.video-mobile {
  display: none;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  background-color: black;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: var(--spacing-md);
  max-width: 800px;
}

.hero-title {
  font-size: var(--font-xxl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.2s;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: var(--font-md);
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.4s;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--brand-green);
  color: white;
  font-size: var(--font-md);
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition-standard);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.6s;
}

.cta-button:hover {
  background-color: var(--brand-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s, bounce 2s infinite;
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  fill: var(--text-light);
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.9rem;
  text-align: center;
  animation: fadeInOut 2s infinite;
}

.scroll-down-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: arrowDown 2s infinite;
}

/* ===========================================
 * 6. イントロダクションセクション
 * =========================================== */
.intro-section {
  padding: 60px 5%;
  background-color: #9dae99;
  background-image: url('../assets/images/wallpaper.png');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  text-align: center;
  border-top: 0px solid #ddd;
  border-bottom: 0px solid #ddd;
  color: #ffffff;
  background-attachment: fixed;
}

.intro-section__title {
  position: relative;
  font-size: clamp(2.6rem, 5vw, 5rem);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  color: #fff;
  text-shadow: 
    0 0 5px rgba(17, 180, 99, 0.5),
    0 0 10px rgba(17, 180, 99, 0.5),
    0 0 15px rgba(17, 180, 99, 0.5);
  display: inline-block;
  line-height: 1.2;
  padding: 0;
  opacity: 1;
}

.intro-section__title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(17, 180, 99, 0.8);
  filter: blur(15px);
  z-index: -1;
  padding: 10px 30px;
}

.intro-section__description {
  text-align: center; 
  font-size: clamp(1.2rem, 2vw, 2.4rem);
  line-height: 1.8;
  margin: 4px 0;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.intro-section__closing {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  color: #ffffff;
  font-weight: 300;
  margin-top: 30px;
  text-align: center;
  line-height: 1.4;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.intro-section__title.fade-out {
  opacity: 0;
}

.title-container {
  position: relative;
  display: inline-block;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, 
    rgba(255,255,255,0) 0%,
    rgba(17, 180, 99, 0.2) 50%, 
    rgba(255,255,255,0) 100%);
  opacity: 0.3;
  animation: scanline 2s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH4QYEFhw3BYjLHAAAAnBJREFUaN7tmtluwjAQRTMQYSmUFigUxP//WrVqIbGEhfRhuMWNNyDVhJnkPESKPRcfj2fGJvkMfn9JuVyWbrebJFEqlVIul5ObiUkCYpomQBAEbDYbgapUKgLn6xIALBYL1Go1+VSr1XC/38F7XqiyRCCLxQLVatUVpbwOJZNJHI9HVCoVRQBSiQxkOp1iPB6DoihIJBJIp9MeJ4iiiNfrhXa7jUKh8DmQyWTCEMRL+/0enudJQOikXq/HIh2L5rrdbthsNoqi3+8LzfM8j6i9Xm9Z6vf74qT7/S5AIAiqqgrN8xIXXJcBdLtdwSjg38hNbgDrur6Kw+EgPGm73SZE4XKHINzA9XoVnmCaJsYEweQPg3ACx+OxQMhisUgMgnBMQRCgGJ/NZgIEyv8JgLcB7h/KVzEYDDCfzwVCptMpiqIIz/MShfgDyxYgZ3UwGHCEQFVV5S0hl8sF7XYbsiwj7oK01xG4XC4RtVanYtd1tW1bm0wmejwe/0vccBzHLwxD27Zt3bKs3yuIbrd7aTQaWKfTieIXdoI/v0AhWpblVSwWNwD0eDxitaLxePzyfZTL5eNbpNlsPpvN5tE0Tei6DkkY+Hw+B9d1YRgGHMfB6/XC5XJBFEW4Xq9fz84AFEXxfRAAcDqd7iTV63UkEolPg36MyCBxgYSCCI2QJAnH41EkBnS0mAaAIODphq7rUlOcJnC6rntHLAAAoKqqPFVVdfopRHTcbDYDAIQkSV6SJC/f92FZFizL+jg9YvM8z7vdbu/m+/6dZdl7GIa/A6KqKgBgmqYXRdE9DMN7FEW/B4LwQhCGIe73+/vfXv8A/+3vvYcVA8YAAAAASUVORK5CYII=');
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.amazon-button-container {
  text-align: center;
  margin: 30px auto;
}

.amazon-button {
  display: inline-block;
  background-color: #FF9900;
  color: #000000;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid #FF9900;
}

.amazon-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background-color: #ffaa22;
}

.amazon-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.amazon-button svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ===========================================
 * 7. 機能セクション
 * =========================================== */
.features-section {
  padding: 40px 5%;
  text-align: center;
  font-size: 1.6rem;
  background-color: #dfdfdf;
}

.features-section__title {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 40px;
  color: #11b463;
  font-weight: 300;
  text-shadow: 0px 1px 1px rgba(128, 128, 128, 0.5);
  white-space: nowrap;
}

.features-section__list {
  max-width: 1200px;
  margin: 0 auto;
}

.features-section__item {
  margin-bottom: 80px;
  text-align: left;
}

.features-section__content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features-section__content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.features-section__item:nth-child(odd) .features-section__content {
  flex-direction: row;
}

.features-section__item:nth-child(even) .features-section__content {
  flex-direction: row-reverse;
}

.features-section__image {
  flex: 0 0 30%;
  max-width: 30%;
  height: auto;
  border-radius: 4px;
  box-shadow: none;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.features-section__content:hover .features-section__image {
  transform: perspective(500px) rotateY(5deg);
}

.features-section__heading {
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  color: #ffffff;
  font-weight: 300;
  line-height: 1.2;
  background-color: #1fc337;
  padding: 10px 40px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(104, 104, 104, 0.1);
  display: block;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  width: fit-content;
}

.features-section__heading span {
  display: block;
  white-space: nowrap;
}

.features-section__description {
  font-size: clamp(0.8rem, 1.6vw, 1.6rem);
  line-height: 1.4;
  color: #555;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  padding: var(--spacing-lg);
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-standard);
}

.feature-item:nth-child(even) .feature-content {
  transform: translateX(50px);
}

.feature-content.animated {
  opacity: 1;
  transform: translateX(0);
}

.feature-image-container {
  flex: 1;
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-standard);
}

.feature-item:nth-child(even) .feature-image-container {
  transform: translateX(-50px);
}

.feature-image-container.animated {
  opacity: 1;
  transform: translateX(0);
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.feature-item:hover .feature-image {
  transform: scale(1.05);
}

.feature-title {
  font-size: var(--font-xl);
  margin-bottom: var(--spacing-md);
  color: var(--brand-green);
}

.feature-description {
  font-size: var(--font-md);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.feature-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--brand-green);
  color: white;
  font-size: var(--font-sm);
  border-radius: 30px;
  transition: var(--transition-standard);
}

.feature-cta:hover {
  background-color: var(--brand-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.features-section__note {
  margin: 32px auto 0 auto;
  max-width: 640px;              /* 800→640に絞って余白UP */
  font-size: 1.3rem;             /* 1.2→1.3でスマホも見やすく */
  color: #b5bbb6;                /* 少し明るいグレーに調整 */
  line-height: 1.85;             /* 1.7→1.85でゆったり */
  text-align: left;              /* 左寄せで読みやすく */
  padding: 12px 10px 16px 14px;  /* 左余白を気持ち多めに */
  letter-spacing: 0.02em;
  font-weight: 400;
  /* border-left: 3px solid #b1dfc3;   ←淡いグリーンで注釈感（お好みで） */
  /* background: #212621;              ←ほんのり背景（ダーク時のみ推奨） */
  border-radius: 8px;
}

/* ===========================================
 * 7.5 プロンプト編集ツールセクション
 * =========================================== */
.prompt-editor-section {
  background-color: #f0f0f0;
  padding: 60px 5%;
  overflow: hidden;
  position: relative;
}

.prompt-editor-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.prompt-editor-header {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.prompt-editor-title {
  font-size: clamp(2.6rem, 4vw, 4rem); /* 他のセクションタイトルと同じサイズに調整 */
  margin-bottom: 25px;
  color: #11b463;
  font-weight: 300;
  line-height: 1.2;
  text-shadow: 0px 1px 1px rgba(128, 128, 128, 0.5); /* 他のセクションタイトルと同じシャドウを追加 */
}

.prompt-editor-subtitle {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem); /* 少し大きくしてより読みやすく */
  color: #555;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.prompt-editor-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.prompt-editor-media {
  flex: 0 0 40%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.prompt-editor-video {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
}

.prompt-editor-features {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  gap: 25px; /* 間隔を少し広げる */
}

.prompt-feature {
  background-color: white;
  padding: 28px; /* パディングを増やしてより広々と */
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prompt-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.prompt-feature h3 {
  /* 既存の background-color はそのまま */
  background-color: var(--brand-green-light);
  /* ← ここを白に変える */
  color: #ffffff;
  /* 他のプロパティはそのまま流用 */
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  padding: 10px 40px;
  border-radius: 50px;
  display: block;
  margin: 0 auto 15px;
  text-align: center;
  width: fit-content;
}

.prompt-feature h3 span {
  display: block;
  white-space: nowrap;
}

.prompt-feature p {
  font-size: clamp(1rem, 1.5vw, 1.5rem); /* 他のセクションの説明文サイズに合わせる */
  line-height: 1.5;
  color: #555;
}

/* ダークモード対応 */
body.dark-mode .prompt-editor-section {
  background-color: #353535;
}

body.dark-mode .prompt-feature {
  background-color: #494949;
}

body.dark-mode .prompt-feature h3 {
  color: var(--text-light); /* #ffffff */
}

body.dark-mode .prompt-feature p,
body.dark-mode .prompt-editor-subtitle {
  color: #bbb;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .prompt-editor-body {
    flex-direction: column;
  }
  
  .prompt-editor-media {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
  }
  
  .prompt-editor-features {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .prompt-editor-section {
    padding: 40px 5%;
  }
  
  .prompt-editor-header {
    margin-bottom: 30px;
  }
  
  .prompt-editor-title {
    font-size: clamp(1.8rem, 4vw, 4rem);
    letter-spacing: -0.05em;
  }
  
  .prompt-feature {
    padding: 22px;
  }
  
  .prompt-feature h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  }
  
  .prompt-feature p {
    font-size: clamp(0.9rem, 1.4vw, 1.4rem);
  }
  
  .prompt-editor-subtitle br {
    display: none;
  }
}

/* ===========================================
 * 8. ユースケースセクション
 * =========================================== */
.usecase-section {
  padding: 40px 5%;
  text-align: center;
  font-size: 1.6rem;
  background-color: #e8e8e8;
}

.usecase-section__title {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 40px;
  color: #11b463;
  font-weight: 300;
  text-shadow: 0px 1px 1px rgba(143, 143, 143, 0.5);
  white-space: nowrap;
}

.usecase-section__list {
  max-width: 1200px;
  margin: 0 auto;
}

.usecase-section__item {
  margin-bottom: 80px;
  text-align: left;
}

.usecase-section__content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.usecase-section__item:nth-child(odd) .usecase-section__content {
  flex-direction: row;
}

.usecase-section__item:nth-child(even) .usecase-section__content {
  flex-direction: row-reverse;
}

.usecase-slideshow {
  position: relative;
  flex: 0 0 55%;
  max-width: 55%;
  aspect-ratio: 96 / 71;
  overflow: hidden;
  border-radius: 4px;
}

.usecase-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 1s ease;
  opacity: 0;
  z-index: 0;
}

.usecase-slideshow img.active {
  opacity: 1;
  z-index: 2;
}

.usecase-slideshow img.fadeout {
  opacity: 0;
  z-index: 1;
}

.usecase-section__heading {
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  color: #ffffff;
  font-weight: 300;
  line-height: 1.2;
  background-color: #1fc337;
  padding: 10px 40px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(104, 104, 104, 0.1);
  display: inline-block;
  text-align: center;
  width: fit-content;
}

.usecase-section__heading span {
  display: block;
  white-space: nowrap;
}

.usecase-section__description {
  font-size: clamp(0.8rem, 1.6vw, 1.6rem);
  line-height: 1.4;
  color: #555;
  margin-top: 20px;
}

.enhanced-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.enhanced-slideshow img {
  transition: opacity 1s ease, transform 0.5s ease;
}

.enhanced-slideshow img.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.enhanced-slideshow img.fadeout {
  opacity: 0;
  z-index: 1;
  transform: scale(1.05);
}

.slideshow-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.slideshow-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slideshow-dots .dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* ===========================================
 * 9. 製品仕様セクション
 * =========================================== */
.specifications-section {
  padding: 40px 5%;
  background-color: #f7f7f7;
  text-align: center;
  font-size: 1.6rem;
}

.specifications-section__title {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 40px;
  color: #11b463;
  font-weight: 300;
  text-shadow: 0px 1px 1px rgba(128, 128, 128, 0.5);
  white-space: nowrap;
}

.specifications-table {
  font-size: 1rem;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.specifications-table th,
.specifications-table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.specifications-table th {
  background-color: #f2f2f2;
  text-align: left;
  font-weight: bold;
}

.specifications-table td {
  background-color: #fff;
}

.contents-section {
  margin-top: 40px;
}

.contents-section__title {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 40px;
  color: #11b463;
  font-weight: 300;
  text-shadow: 0px 1px 1px rgba(128, 128, 128, 0.5);
  white-space: nowrap;
}

.contents-section__list {
  list-style: none;
  padding: 0;
}

.contents-section__list li {
  margin-bottom: 10px;
}

.contents-section-table {
  font-size: 1rem;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.contents-section-table th,
.contents-section-table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.contents-section-table th {
  background-color: #f2f2f2;
  text-align: left;
  font-weight: bold;
}

.contents-section-table td {
  background-color: #fff;
}

/* ===========================================
 * 10. フッターとリンク
 * =========================================== */
.footer {
  padding: 20px;
  text-align: center;
  background-color: #333;
  color: #fff;
  font-size: 0.9rem;
}

.footer__text,
.footer__contact {
  margin: 5px 0;
}

.footer-mail {
  color: #fff;
}

.bot-link {
  color: #aaa;
  font-size: 0.8rem;
}

.bot-link:hover {
  color: #bbb;
}

.link-section {
  padding: 20px;
  text-align: center;
  background-color: #f0f0f0;
  border-top: 0px solid #ddd;
}

.link-section a {
  margin: 0 15px;
  text-decoration: none;
  color: #11b463;
  font-size: 1.2rem;
  font-weight: 500;
}

.link-section a:hover {
  text-decoration: underline;
}

.floating-buy-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #FF9900;
  color: #000000;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  opacity: 0;
  transform: translateY(20px);
}

.floating-buy-button.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-buy-button:hover {
  background-color: #ffaa22;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-buy-button svg {
  margin-right: 8px;
}

.price-tag {
  display: inline-block;
  background-color: #11b463;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: bold;
  margin: 0 10px;
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

/* ===========================================
 * 11. パララックス効果
 * =========================================== */
.parallax {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-change-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-light);
  transition: background-color 0.5s ease;
}

.bg-change-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  color: var(--text-dark);
  transition: color 0.5s ease;
}

/* ===========================================
 * 12. アニメーション
 * =========================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--brand-green) }
}

@keyframes rotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes glitch {
  0% {
    transform: translate(0);
    text-shadow: 
      0 0 5px rgba(17, 180, 99, 0.5),
      0 0 10px rgba(17, 180, 99, 0.5);
  }
  20% {
    transform: translate(-2px, 2px);
    text-shadow: 
      2px 0 #ff00cc, 
      -2px 0 #00ffff;
  }
  40% {
    transform: translate(-2px, -2px);
    text-shadow: 
      2px 0 #00ffff, 
      -2px 0 #ff00cc;
  }
  60% {
    transform: translate(2px, 2px);
    text-shadow: none;
  }
  80% {
    transform: translate(2px, -2px);
    text-shadow: 
      -2px 0 #00ffff, 
      2px 0 #ff00cc;
  }
  100% {
    transform: translate(0);
    text-shadow: 
      0 0 5px rgba(17, 180, 99, 0.5),
      0 0 10px rgba(17, 180, 99, 0.5);
  }
}

@keyframes vibrate {
  0% { transform: translateX(0); }
  10% { transform: translateX(-1px) rotate(-0.5deg); }
  20% { transform: translateX(1px) rotate(0.5deg); }
  30% { transform: translateX(-1px) rotate(-0.5deg); }
  40% { transform: translateX(1px) rotate(0.5deg); }
  50% { transform: translateX(-1px) rotate(-0.5deg); }
  60% { transform: translateX(1px) rotate(0.5deg); }
  70% { transform: translateX(-1px) rotate(-0.5deg); }
  80% { transform: translateX(1px) rotate(0.5deg); }
  90% { transform: translateX(-1px) rotate(-0.5deg); }
  100% { transform: translateX(0); }
}

@keyframes fadeInWithEffect {
  0% { 
    opacity: 0; 
    transform: scale(0.95);
    filter: blur(5px);
  }
  100% { 
    opacity: 1; 
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes fadeOutWithEffect {
  0% { 
    opacity: 1; 
    transform: scale(1);
    filter: blur(0);
  }
  100% { 
    opacity: 0; 
    transform: scale(0.95);
    filter: blur(5px);
  }
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes arrowDown {
  0% { transform: rotate(45deg) translate(-5px, -5px); }
  50% { transform: rotate(45deg) translate(5px, 5px); }
  100% { transform: rotate(45deg) translate(-5px, -5px); }
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

.rotate-3d {
  animation: rotate 20s linear infinite;
  transform-style: preserve-3d;
}

.typing-animation {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--brand-green);
  width: 0;
  animation: 
    typing 3.5s steps(40, end) forwards,
    blink-caret 0.75s step-end infinite;
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 1.5s ease-out infinite;
}

.hover-float {
  transition: transform 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-10px);
}

.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
}

.hover-shine {
  position: relative;
  overflow: hidden;
}

.hover-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}

.hover-shine:hover::before {
  left: 125%;
}

.title-fade-in {
  animation: fadeInWithEffect 0.3s forwards;
}

.title-fade-out {
  animation: fadeOutWithEffect 0.3s forwards;
}

.title-glitch {
  animation: glitch 0.3s ease both;
}

.title-vibrate {
  animation: vibrate 0.3s ease both;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.pulse-animation {
  animation: pulse 2s infinite ease-in-out;
}

.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 20px;
  transition: background-color 0.3s ease;
}
.dark-mode-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


/* ===========================================
 * 13. メディアクエリ
 * =========================================== */
@media (max-width: 992px) {
  .feature-item {
    flex-direction: column;
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .feature-item:nth-child(even) {
    flex-direction: column;
  }
  
  .feature-content, 
  .feature-item:nth-child(even) .feature-content {
    transform: translateX(0);
    text-align: center;
    padding: var(--spacing-md) 0;
  }
  
  .feature-image-container,
  .feature-item:nth-child(even) .feature-image-container {
    transform: translateX(0);
    margin-bottom: var(--spacing-md);
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
    flex-direction: column;
    gap: 0;
    transition: height 0.3s ease;
  }
  
  .nav-menu.active {
    height: auto;
  }
  
  .nav-link {
    display: block;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--text-light);
  }
  
  .hero-content {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-brand,
  .footer-nav,
  .footer-contact {
    flex: 0 0 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .video-desktop {
    display: none;
  }
  
  .video-section__divider-line {
    display: none;
  }
  
  .video-mobile {
    display: block;
  }
  
  .video-section {
    aspect-ratio: 9 / 16;
  }
  
  .video-section__background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
  }
  
  .video-section__overlay {
    position: absolute;
    top: 1%;
    left: 0%;
    transform: translateX(0%);
    width: 100%;
    padding: 0px 0;
    color: #11b463;
    text-align: center;
  }
  
  .video-section__subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    margin-bottom: 0px;
  }
  
  .video-section__divider-text {
    font-size: clamp(3rem, 4vw, 4rem);
    margin-top: 6px;
    color: #f0f0f0;
  }
  
  .video-section__divider {
    margin: 0;
    padding: 0;
  }
  
  .intro-section {
    padding: 20px 2%;
    background-attachment: scroll;
  }
  
  .intro-section__title {
    font-size: clamp(1.4rem, 4vw, 2.4rem); 
    white-space: normal;                   
    letter-spacing: 0px;                   
    padding: 0 5px;                       
  }
  
  .intro-section__description {
    text-align: center;
    font-size: clamp(1.0rem, 1.8vw, 2.2rem) !important;
    line-height: 1.8;
    margin: 4px 0;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
  
  .intro-section__closing {
    font-size: clamp(1.6rem, 2.4vw, 2.8rem) !important;
    color: #ffffff;
    font-weight: 300;
    margin-top: 30px;
    text-align: center;
    line-height: 1.4;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  }
  
  .features-section__content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  
  .features-section__title {
    font-size: clamp(1.6rem, 4vw, 4rem);
    letter-spacing: -0.05em;
  }
  
  .features-section__image {
    order: 2;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .features-section__heading {
    order: 1;
    padding: 10px 20px;
    font-size: clamp(1.2rem, 1.2vw, 1.8rem);
  }
  
  .features-section__description {
    order: 3;
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
  
  .usecase-section__content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .usecase-section__title {
    font-size: clamp(1.6rem, 4vw, 4rem);
    letter-spacing: -0.05em;
  }
  
  .usecase-section__item:nth-child(odd) .usecase-section__content,
  .usecase-section__item:nth-child(even) .usecase-section__content {
    flex-direction: column;
  }
  
  .usecase-section__item:nth-child(odd) .usecase-section__content > div,
  .usecase-section__item:nth-child(even) .usecase-section__content > div {
    order: 1;
    width: 100%;
    text-align: center;
  }
  
  .usecase-section__item:nth-child(odd) .usecase-slideshow,
  .usecase-section__item:nth-child(even) .usecase-slideshow {
    order: 2;
    flex: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 20px;
  }
  
  .usecase-slideshow img {
    width: 100%;
    height: auto;
  }
  
  .specifications-section {
    padding: 20px 2%;
  }
  
  .specifications-section__title {
    font-size: clamp(1.6rem, 4vw, 3rem);
    margin-bottom: 30px;
  }
  
  .specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.6rem;
  }
  
  .specifications-table th,
  .specifications-table td {
    padding: 8px;
  }
  
  .contents-section {
    margin-top: 30px;
  }
  
  .contents-section__title {
    font-size: clamp(1.6rem, 4vw, 3rem);
    margin-bottom: 30px;
  }
  
  .contents-section-table {
    font-size: 0.6rem;
  }
  
  .contents-section-table th,
  .contents-section-table td {
    padding: 8px;
  }
  
  .contents-section__list li {
    margin-bottom: 8px;
  }
  
  .footer {
    padding: 15px 2%;
    font-size: 0.8rem;
  }
  
  .link-section {
    white-space: normal;
    padding: 10px 2%;
  }
  
  .link-section a {
    display: inline-block;
    margin: 4px 6px;
    font-size: 0.9rem;
  }
  
  
  .sticky-nav__links {
    display: none;
  }
  
  .sticky-nav {
    justify-content: center;
  }
  .sticky-nav__logo img {
  height: 28px; /* 元のサイズに合わせて調整 */
  margin-right: var(--spacing-xs);
  }
}

@media (max-width: 480px) {
  .features-section__content {
    gap: 20px;
  }
  
  .features-section__image {
    width: 100%;
    max-width: 100%;
  }
  
  .features-section__description {
    font-size: 1.0rem;
  }
  
  .video-section__overlay {
    width: 90%;
    transform: translate(5%, 5%);
  }
}

/* ダークモード */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode .features-section,
body.dark-mode .usecase-section,
body.dark-mode .specifications-section,
body.dark-mode .business-info,
body.dark-mode .link-section {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

body.dark-mode .features-section__title,
body.dark-mode .usecase-section__title,
body.dark-mode .specifications-section__title,
body.dark-mode .contents-section__title {
  color: #2fd677;
}

body.dark-mode .features-section__description,
body.dark-mode .usecase-section__description {
  color: #b0b0b0;
}

body.dark-mode .specifications-table th,
body.dark-mode .contents-section-table th {
  background-color: #2a2a2a;
  color: #e0e0e0;
}

body.dark-mode .specifications-table td,
body.dark-mode .contents-section-table td {
  background-color: #333333;
  color: #e0e0e0;
}

body.dark-mode .link-section a {
  color: #2fd677;
}

body.dark-mode .amazon-button {
  background-color: #FF9900;
  color: #000000;
}

body.dark-mode .floating-buy-button {
  background-color: #FF9900;
  color: #000000;
}

body:not(.dark-mode) .company-details {
  color: #333333;
}
/* ダークモード時の機能詳細セクション背景 */
body.dark-mode .features-section {
  background-color: #1f1f1f;           /* お好みのダーク背景色に */
}

/* 各カード（コンテンツ）の背景・文字色・シャドウ */
body.dark-mode .features-section__content {
  background-color: #3a3a3a;           /* カード背景 */
  color: #e0e0e0;                      /* 本文テキスト色 */
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
}

/* 見出しバッジ（緑帯）の色調整 */
body.dark-mode .features-section__heading {
  background-color: var(--brand-green-light);
  color: #fafafa;
}

/* 説明文の文字色 */
body.dark-mode .features-section__description {
  color: #ccc;
}
