:root {
  --primary-color: #00ac56; /* Enecoop Green approx */
  --accent-color: #f39c12;
  --text-color: #333;
  --bg-color: #f9fdfa;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* ヘッダー */
.lp-header {
  padding: 1rem 2rem;
  background-color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* やや強めの影効果 */
  border-bottom: 4px solid var(--primary-color); /* 明確な境界線 */
  position: relative;
  z-index: 100;
}

.logo {
  height: 40px;
}

/* ヒーローセクション */
.hero-section {
  padding: 4rem 1rem 3rem;
  overflow: hidden;
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 70% 30%,
    #f0fdf4 0%,
    #ffffff 70%
  ); /* 控えめでクリーンなグラデーション */
}

.hero-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

/* ヒーローコンテンツ */
.hero-content {
  text-align: center;
  z-index: 2;
  margin-top: 0;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #0f172a; /* 深いネイビー */
  font-weight: 900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  letter-spacing: -0.02em;
}

.app-pre-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #059669; /* やや暗めのグリーン */
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.sub-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.8rem;
  background: linear-gradient(120deg, #0284c7, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #666;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn img {
  height: 50px;
  width: auto;
  transition: transform 0.2s;
}

.store-btn:hover img {
  transform: scale(1.05);
}

/* ヒーロービジュアル（スマホ・トドック） */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 3rem; /* Increased top margin to push image down */
  margin-bottom: 2rem;
}

/* Phone Image */
.phone-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(
    0 20px 40px rgba(0, 60, 30, 0.15)
  ); /* Hint of green shadow for premium feel */
  position: relative;
  z-index: 10;
  margin-bottom: 25px;
}

/* トドックのキャラクター画像 */
.todock-img {
  position: absolute;
  width: 170px; /* Slightly bigger */
  height: auto;
  bottom: 0px; /* Bottom area */
  left: -60px; /* Peeking from left side */
  right: auto;
  z-index: 15; /* In front of the phone */
  transform: rotate(-10deg);
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
  animation: sway 3s ease-in-out infinite;
}

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

/* 浮かぶバッジアイコン */
.bubbles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
  gap: 15px;
  width: 100%;
  max-width: 320px; /* Match phone width mostly */
  justify-items: center; /* Center items in their cells */
}

/* 浮かぶアイコンの基本スタイル */
.bubble {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 20;
  animation: float 6s ease-in-out infinite;
  width: 85px;
  height: 85px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  border: 3px solid #fff;
  white-space: nowrap;
  line-height: 1.3;
}

/* カラーバリエーション */
.bubble-1,
.bubble-5 {
  background: #e8f5e9;
  color: #00ac56;
}
.bubble-2,
.bubble-4 {
  background: #fff3e0;
  color: #f57c00;
}
.bubble-3,
.bubble-6 {
  background: #e3f2fd;
  color: #0277bd;
}

/* 個別の位置指定を解除 */
.bubble-1,
.bubble-2,
.bubble-3,
.bubble-4,
.bubble-5,
.bubble-6 {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

/* 揺らぎ効果のための遅延アニメーション（グリッドは維持） */
.bubble-1 {
  animation-delay: 0s;
}
.bubble-2 {
  animation-delay: 1s;
}
.bubble-3 {
  animation-delay: 2s;
}
.bubble-4 {
  animation-delay: 0.5s;
}
.bubble-5 {
  animation-delay: 1.5s;
}
.bubble-6 {
  animation-delay: 2.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  } /* 控えめな浮遊感 */
  100% {
    transform: translateY(0px);
  }
}

/* ボタンの表示切り替え制御 */
.mobile-only {
  display: flex;
  margin-top: 1rem;
}

.desktop-only {
  display: none;
}

/* レスポンシブ調整 */
@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: flex;
  }

  .hero-container {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 6rem;
  }

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

  .hero-title {
    font-size: 3.2rem;
  }

  .app-pre-title {
    font-size: 1.3rem;
  }

  .sub-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .app-buttons {
    justify-content: flex-start;
  }

  .hero-visual {
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 350px;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    gap: 0; /* モバイル時は間隔を削除 */
  }

  .hero-visual {
    width: 100%;
    max-width: 280px;
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .bubbles-container {
    gap: 10px;
    /* 3カラムが収まるように調整 */
    grid-template-columns: repeat(3, 1fr);
  }

  .bubble {
    width: 80px;
    height: 80px;
    font-size: 0.7rem;
  }
}

/* 解決セクション（Solve Section） */
.solve-section {
  background-color: #fffde7; /* 柔らかなクリームイエロー */
  background-image: radial-gradient(#ffe0b2 2px, transparent 2px);
  background-size: 20px 20px; /* ドットパターン */
  padding: 2.5rem 1rem; /* パディング縮小 */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solve-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ユーザーの吹き出し */
.user-voice-box {
  margin-bottom: 2rem; /* マージン縮小 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.user-voice {
  background: #fff;
  padding: 0.8rem 1rem; /* モバイル向けに横方向パディング縮小 */
  border-radius: 50px;
  font-size: 0.85rem; /* モバイルで1行に収めるようフォントを縮小 */
  color: #444;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: inline-block;
  border: 2px solid #fff;
  width: fit-content;
  max-width: 100%;
}

/* 吹き出しのしっぽ */
.user-voice::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* 遊び心のためのわずかな変化 */
.user-voice:nth-child(1) {
  transform: rotate(-2deg);
  margin-right: 20px;
}
.user-voice:nth-child(2) {
  transform: rotate(2deg);
  margin-left: 20px;
  background: #fff;
  color: #555;
}

/* タイトルエリア */
.solve-message {
  margin-bottom: 2rem; /* マージン縮小 */
}

.solve-sub {
  font-size: 1.5rem; /* バランス調整のため大きく */
  margin-bottom: -10px; /* メインタイトルに近づける */
  color: #43a047; /* メインより少し明るいグリーン */
  font-weight: bold;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 5;
}

.solve-title {
  font-size: 2.2rem; /* モバイルで1行に収めるよう縮小 */
  font-weight: 800;
  color: #00ac56; /* ブランドグリーン */
  margin-top: 0; /* マージン上部を削除 */
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: 2px 2px 0 #fff; /* 鮮明なアウトライン */
  display: inline-block;
  line-height: 1.1;
}

/* 特徴グリッド */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem; /* 幅広アイテムのために横方向の間隔を縮小 */
  justify-content: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon-circle {
  width: 80px; /* 90pxから縮小 */
  height: 80px; /* 90pxから縮小 */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem; /* 1remから縮小 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid #fff;
}

.feature-icon-circle i {
  font-size: 2.5rem;
  color: #fff; /* White icon */
}

.feature-icon-img {
  width: 60%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 各特徴のユニークなカラー - ポップ＆キュート */
.feature-item:nth-child(1) .feature-icon-circle {
  background: #4dd0e1;
} /* タンク（シアン） */
.feature-item:nth-child(2) .feature-icon-circle {
  background: #aed581;
} /* 車（ライトグリーン） */
.feature-item:nth-child(3) .feature-icon-circle {
  background: #ffb74d;
} /* 火（オレンジ） */
.feature-item:nth-child(4) .feature-icon-circle {
  background: #e57373;
} /* 標識（レッド／ピンク） */
.feature-item:nth-child(5) .feature-icon-circle {
  background: #ba68c8;
} /* オリンピック（パープル） */
.feature-item:nth-child(6) .feature-icon-circle {
  background: #7986cb;
} /* 貯蓄（インディゴ） */

.feature-name {
  font-size: 0.9rem; /* モバイルでテキストを収めるため縮小 */
  font-weight: 700;
  color: #444;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.2rem 0.5rem; /* パディングをわずかに縮小 */
  border-radius: 10px;
  white-space: nowrap; /* 可能な限り折り返しを防ぐ */
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr); /* 6アイテム用に3カラム */
    gap: 2rem;
  }

  .feature-name {
    font-size: 1rem; /* PC版では通常サイズに戻す */
    padding: 0.2rem 0.8rem;
  }

  .solve-title {
    font-size: 3.5rem;
  }

  .user-voice-box {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  .user-voice {
    font-size: 1.3rem;
    padding: 1rem 2rem; /* デスクトップ向けに広いパディング */
  }
}

/* マイページセクション */
.mypage-section {
  background-color: #f9f9f9; /* ライトグレー背景 */
  padding: 4rem 0 6rem; /* 上下パディング */
  position: relative;
  overflow: hidden;
}

/* 灯油セクションバリエーション */
.kerosene-section {
  background-color: #f1f8e9; /* 非常に明るいグリーン */
  position: relative;
  padding-bottom: 6rem; /* ウェーブ用のパディング調整 */
}

/* ウェーブセパレーター */
.kerosene-section::after {
  content: "";
  position: absolute;
  bottom: -1px; /* わずかに重ねる */
  left: 0;
  width: 100%;
  height: 60px; /* モバイル用高さ */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23e1f5fe' fill-opacity='1' d='M0,96L80,112C160,128,320,160,480,160C640,160,800,128,960,112C1120,96,1280,96,1360,101.3L1440,106.7L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
  display: none; /* ガスエリア非表示に合わせて非表示 */
}

/* ガスセクションバリエーション */
.gas-section {
  background-color: #e1f5fe; /* 非常に明るいブルー */
}

.gas-section .mypage-bg-text {
  color: #81d4fa; /* ライトブルーテキスト */
}

.gas-section .card-step-num {
  background: #29b6f6; /* ライトブルーステップ */
}

.gas-section .mypage-title-ja::after {
  background: linear-gradient(90deg, #29b6f6, #26c6da); /* ブルーグラデーション */
}

/* 背景の「MY Page」テキスト */
.mypage-bg-text {
  position: absolute;
  top: 2rem;
  left: 1rem;
  font-family: "Outfit", sans-serif; /* モダンフォント */
  font-weight: 300;
  line-height: 1;
  color: #a5d6a7; /* ライトグリーン */
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.bg-en {
  display: block;
  font-size: 6rem;
}

/* Japanese Title */
.mypage-title-ja {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 1rem; /* Reduced for mobile */
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.mypage-title-ja::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4dd0e1, #81c784);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.sp-only {
  display: block;
}

.pc-only {
  display: none;
}

/* Container */
.mypage-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Horizontal Scroll Container */
.mypage-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem; /* Increased gap */
  padding: 2rem 50%; /* Large side padding to center first/last items */
  padding-bottom: 3rem; /* Increased for Dots */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-top: 0; /* Minimized gap */
  scrollbar-width: none;

  /* 3D Settings */
  perspective: 1000px;
  align-items: center; /* Vertically center */
}

/* Hide scrollbar for Chrome/Safari/Edge */
.mypage-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Scroll Prompt Animation */
/* Scroll Prompt Animation */
.scroll-prompt {
  position: absolute;
  bottom: 0.5rem;
  right: 1.5rem;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: row; /* Horizontal layout */
  align-items: center;
  gap: 0.5rem;
  color: #4dd0e1;
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 1; /* Increased base opacity */
  animation: fadePulse 2s infinite;
}

.scroll-prompt i {
  font-size: 1.2rem;
  margin-top: 0;
  margin-left: 0.2rem; /* Add spacing */
}

/* Pagination Dots */
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
  position: absolute;
  bottom: 0px; /* Adjust for mobile layout (tight space) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: auto; /* Ensure clickable */
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.1); /* transparent border for hit area adjustment? no */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #4dd0e1;
  width: 30px;
  border-radius: 6px;
}

/* --- Dot Themes --- */

/* Kerosene (Green Theme) */
.kerosene-section .dot {
  background-color: rgba(129, 199, 132, 0.3); /* #81c784 with opacity */
  border-color: rgba(129, 199, 132, 0.1);
}
.kerosene-section .dot.active {
  background-color: #81c784; /* Soft Green */
  box-shadow: 0 4px 10px rgba(129, 199, 132, 0.4); /* Glow effect */
}

/* Gas (Blue Theme) */
.gas-section .dot {
  background-color: rgba(41, 182, 246, 0.3); /* #29b6f6 with opacity */
  border-color: rgba(41, 182, 246, 0.1);
}
.gas-section .dot.active {
  background-color: #29b6f6; /* Bright Blue */
  box-shadow: 0 4px 10px rgba(41, 182, 246, 0.4); /* Glow effect */
}

@keyframes fadePulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Card Style */
.mypage-card {
  flex: 0 0 auto;
  width: 320px; /* Wider for Side-by-Side */
  height: 280px; /* Even taller */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: grab;

  /* Layout: Row */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  scroll-snap-align: center;

  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.mypage-card:active {
  cursor: grabbing;
}

.card-text {
  flex: 1;
  padding-right: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-text p {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.card-step-num {
  display: inline-block;
  background: #4dd0e1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.card-img-box {
  flex: 0 0 150px;
  height: 100%;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 0;
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.card-caption {
  font-weight: bold;
  color: #444;
  text-align: center;
  font-size: 0.9rem; /* Slightly smaller text */
  line-height: 1.4;
}

/* Navigation Buttons */
.nav-btn {
  display: none; /* Hidden on mobile */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s;
  justify-content: center;
  align-items: center;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.nav-prev {
  left: 2%;
}
.nav-next {
  right: 2%;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .bg-en {
    font-size: 10rem;
  }

  /* Restore margin on PC */
  .mypage-title-ja {
    margin-bottom: 3rem;
    font-size: 3rem;
  }

  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }

  .mypage-section {
    padding-top: 6rem;
  }

  .mypage-scroll-container {
    /* Keep scrolling on desktop */
    margin-top: 1rem; /* Reduced gap based on user feedback */
    padding-left: calc(50% - 240px);
    padding-right: calc(50% - 240px);
    gap: 4rem;
    justify-content: flex-start;
    overflow-x: auto; /* Explicitly allow scroll */
    scrollbar-width: none;
  }

  .mypage-scroll-container::-webkit-scrollbar {
    display: none;
  }

  .kerosene-section::after {
    height: 120px;
  }

  .mypage-card {
    width: 480px;
    height: 480px;
  }

  .card-img-box {
    flex: 0 0 240px;
  }

  .card-text {
    font-size: 1.2rem;
    padding-right: 1.5rem;
  }

  .card-step-num {
    font-size: 0.9rem;
    padding: 4px 10px;
  }

  .mypage-bg-text {
    top: 1rem;
    left: 4rem;
    transform: none;
    text-align: left;
    width: auto;
    opacity: 0.6;
  }

  /* Navigation Buttons - Ensure visibility and style */
  .nav-btn {
    display: flex;
    appearance: none;
    -webkit-appearance: none;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  /* Hide swipe prompt on PC */
  .scroll-prompt {
    display: none;
  }

  /* Show Dots on PC */
  .pagination-dots {
    display: flex;
    bottom: 0px; /* Adjust as needed, container has pb: 2rem */
  }
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* --- Accordion Styles (限界突破・プレミアムデザイン) --- */
.accordion-container {
  box-sizing: border-box;
  max-width: 800px; /* Wider for premium card feeling */
  margin: 5rem auto 2rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* More breathing room */
  position: relative;
  z-index: 5;
}

.accordion-item {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); /* Soft, wide shadow */
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .accordion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Hover lift on desktop */
  }
}

.accordion-header {
  padding: 1.8rem 2rem; /* Luxurious padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  -webkit-tap-highlight-color: transparent;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.feature-label {
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50px; /* Pill shape badge */
  letter-spacing: 0.05em;
  font-family: inherit;
}

/* Kerosene (Green) Badge */
.kerosene-section .feature-label {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
/* Gas (Blue) Badge */
.gas-section .feature-label {
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1;
}

.feature-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a; /* Deep navy text */
  display: flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.4;
  white-space: normal; /* Allow text matching modern responsive style */
}

.feature-title i {
  color: #475569; /* Slightly darker slate */
  background: #f1f5f9;
  width: 38px;
  height: 38px;
  border-radius: 12px; /* Apple-like squircle */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition:
    background 0.3s,
    color 0.3s;
}

/* Highlight icon and title when open */
.accordion-item.open .feature-title {
  color: #0284c7; /* Brand Blue */
}
.accordion-item.open .feature-title i {
  background: #e0f2fe;
  color: #0284c7;
}

.header-right {
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Simple Arrow Down */
.toggle-icon {
  font-size: 1.2rem;
  color: #64748b;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s;
  margin: 0;
}

.accordion-item:hover .toggle-icon {
  color: #334155;
}

.accordion-item.open {
  border-color: #cbd5e1; /* Subtle highlight border */
  background: #fafaf9; /* Extremely subtle warm tint */
}

.accordion-item.open .toggle-icon {
  transform: rotate(180deg);
  color: #0284c7;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease-in-out;
  background: transparent;
}

.accordion-item.open .accordion-content {
  opacity: 1;
}

.content-inner {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-inner p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.content-img-box {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  overflow: hidden;
}

.content-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* PC Override : Smart side-by-side Layout when open */
@media (min-width: 768px) {
  .accordion-container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
  }

  .content-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .content-inner p {
    flex: 1;
    font-size: 1.05rem;
  }

  .content-img-box {
    flex-shrink: 0; /* Keep image box size strict */
    margin: 0;
  }
}

/* --- Premium Feature Section (限界突破デザイン) --- */
.premium-feature-section {
  position: relative;
  padding: 6rem 1rem;
  background: #f8fafc; /* Subtle light gray background for contrast */
}

.premium-container {
  max-width: 900px; /* Wider for the big card */
  margin: 0 auto;
}

/* Big White Card */
.premium-card {
  background: #ffffff;
  border-radius: 40px;
  padding: 3rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.premium-main-content {
  text-align: center;
}

/* Titles and Typography */
.premium-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a; /* Deep navy/slate */
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
}

.premium-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0284c7; /* Trustworthy Blue */
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.premium-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 4rem;
}

/* Sensor Area */
.premium-sensor-area {
  margin-bottom: 4rem;
}

.sensor-label {
  display: inline-block;
  background: #1e293b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.6rem 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

/* Images Row */
.dual-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  max-width: 100%;
}

.img-item {
  flex: 1;
  display: flex;
  justify-content: center;
}

.premium-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

.app-screen-img {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.img-link-icon {
  font-size: 1.6rem;
  color: #10b981; /* Signal Green */
  flex-shrink: 0;
  animation: signalPulse 2s infinite;
}

/* App Highlight Bubble */
.app-img-container {
  position: relative;
}

.app-highlight-bubble {
  position: absolute;
  top: -20px;
  right: -10px;
  background: #ff5722; /* Warning/Notice Orange */
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(255, 87, 34, 0.3);
  z-index: 5;
  transform: rotate(5deg);
  animation: popBubble 3s ease-in-out infinite alternate;
  font-family: inherit;
  line-height: 1.2;
}

.app-highlight-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 20px;
  border-width: 8px 8px 0 0;
  border-style: solid;
  border-color: #ff5722 transparent transparent transparent;
}

.bubble-light {
  font-weight: 500;
  font-size: 0.75rem;
}

.bubble-bold {
  font-weight: 800;
  font-size: 1rem;
}

@keyframes popBubble {
  0% {
    transform: rotate(5deg) scale(1);
  }
  100% {
    transform: rotate(8deg) scale(1.05);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Quote Box */
.premium-quote-box {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 1.5rem 2rem;
  text-align: left;
  margin-bottom: 3rem;
}

.quote-icon {
  position: absolute;
  top: -25px;
  left: 15px;
  font-size: 6rem;
  color: #f1f5f9;
  font-family: serif;
  line-height: 1;
  user-select: none;
}

.quote-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.quote-hl {
  color: #f97316; /* Clean orange */
  border-bottom: 2px dashed #fcd34d;
  padding-bottom: 4px;
}

.quote-sub {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}

.quote-red {
  color: #ef4444;
  font-size: 1rem;
}

/* Footer Note */
.premium-footer-note {
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 2rem;
  width: 100%;
}
.note-mark {
  margin-right: 0.5rem;
}

/* PC Override */
@media (min-width: 768px) {
  .premium-feature-section {
    padding: 8rem 2rem;
  }
  .premium-card {
    padding: 5rem;
    border-radius: 50px;
  }

  .premium-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  .premium-lead {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  .premium-desc {
    font-size: 1.1rem;
  }

  .sensor-label {
    font-size: 1.05rem;
    padding: 0.8rem 3rem;
  }
  .dual-images {
    gap: 2rem;
  }
  .img-link-icon {
    font-size: 2.5rem;
  }

  .app-highlight-bubble {
    top: -30px;
    right: -30px;
    padding: 12px 18px;
  }
  .bubble-light {
    font-size: 0.95rem;
  }
  .bubble-bold {
    font-size: 1.3rem;
  }

  .premium-quote-box {
    padding: 3rem 4rem 2.5rem;
    border-radius: 30px;
  }
  .quote-icon {
    font-size: 8rem;
    top: -35px;
    left: 30px;
  }
  .quote-main {
    font-size: 1.5rem;
  }
  .quote-hl {
    border-bottom-width: 3px;
  }
  .quote-sub {
    font-size: 1.05rem;
  }
  .quote-red {
    font-size: 1.15rem;
  }
}

/* --- Footer --- */
.lp-footer {
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  margin-top: 2rem;
}

.footer-logo-container {
  max-width: 150px;
  margin: 0 auto 0.5rem;
}

.footer-logo {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
}

.copyright {
  color: #aaa;
  font-size: 0.75rem;
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Ultimate CTA Section (限界突破デザイン -> シンプル化)
   ========================================================================== */
.cta-ultimate-section {
  position: relative;
  overflow: hidden;
  background: #0284c7; /* Solid blue background matching the header/theme */
  color: #ffffff;
  padding: 6rem 1.5rem;
  margin-top: 4rem;
  z-index: 1;
}

/* Modern Gradient for Bottom CTA (Reverted to Solid Blue) */
/* .cta-bottom-mode {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0284c7 100%);
} */

/* Background Animated Glow */
.cta-ultimate-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.4) 0%, transparent 60%);
  opacity: 0.6;
  animation: rotateGlow 20s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-ultimate-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

/* Desktop layout */
@media (min-width: 900px) {
  .cta-ultimate-container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  .cta-ultimate-content {
    flex: 1;
    max-width: 550px;
    margin: 0;
    text-align: left;
  }
  .cta-ultimate-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  /* Bottom CTA Overrides for Desktop */
  .cta-bottom-mode .cta-ultimate-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .cta-bottom-mode .cta-ultimate-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
}

/* Shiny Badge */
.cta-shiny-badge {
  display: inline-block;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
  background-size: 200% auto;
  color: #fffbeb;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  animation: shineBadge 3s linear infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes shineBadge {
  to { background-position: 200% center; }
}

.cta-ultimate-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .cta-ultimate-title {
    font-size: 2.8rem;
  }
}

.cta-hl-text {
  color: #bae6fd;
  display: inline-block;
}

.cta-ultimate-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0f2fe;
  margin-bottom: 2.5rem;
}

/* Light Theme Overrides (For Hero Section) */
.cta-ultimate-section.theme-light {
  background: radial-gradient(circle at 70% 30%, #f0fdf4 0%, #ffffff 70%);
  color: var(--text-color);
}
.hero-simple-sub {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0369a1; /* Energy blue accent */
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.cta-ultimate-section.theme-light .cta-ultimate-title {
  color: #111827;
  text-shadow: none;
}
.cta-ultimate-section.theme-light .cta-hl-text {
  background: linear-gradient(120deg, #0284c7, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-ultimate-section.theme-light .cta-ultimate-desc {
  color: #475569;
}

.cta-app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .cta-app-buttons {
    justify-content: flex-start;
  }
  .cta-bottom-mode .cta-app-buttons {
    justify-content: center;
  }
}

.cta-app-buttons .store-btn img {
  height: 50px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
  border-radius: 8px;
}

.cta-app-buttons .store-btn:hover img {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.3));
}

.cta-ultimate-note {
  font-size: 0.8rem;
  color: #bae6fd;
  opacity: 0.8;
  line-height: 1.4;
}

/* Phone Mockup Visual */
.phone-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  perspective: 1000px;
}

.cta-phone-img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotateY(-10deg) rotateX(10deg);
  border-radius: 35px;
}

@media (max-width: 899px) {
  .cta-phone-img {
    transform: rotateY(0deg) rotateX(0deg);
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Todock Character in CTA & Hero */
.cta-todock-img {
  position: absolute;
  width: 130px; 
  height: auto;
  bottom: -5px;
  left: -40px;
  z-index: 15;
  transform: rotate(-5deg);
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.15));
}
@media (min-width: 900px) {
  .cta-todock-img {
    width: 170px;
    bottom: -15px;
    left: -70px;
  }
}
