/* ============================================================
   マイエバーグリーン LP — メインスタイルシート
   common/style.css
   ============================================================ */

/* ──────── CSS変数 ──────── */
:root {
  --green-50:       #e8f5e9;
  --green-100:      #c8e6c9;
  --green-200:      #a5d6a7;
  --green-400:      #66bb6a;
  --green-500:      #4caf50;
  --green-600:      #2e7d32;
  --green-700:      #1b5e20;
  --green-800:      #0a3d0e;
  --green-bright:   #00c853;
  --green-vivid:    #00e676;
  --green-light-bg: #d8eed9;
  --unified-bg:     #7dea87;
  --white:          #ffffff;
  --gray-50:        #f8f9fa;
  --gray-100:       #f1f3f5;
  --gray-200:       #e9ecef;
  --gray-400:       #adb5bd;
  --gray-600:       #6c757d;
  --gray-800:       #343a40;
  --navy:           #0d2137;
  --text-main:      #0D121C;
  --text-sub:       #202939;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 40px;

  --shadow-card:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-phone: 0 24px 80px rgba(0,0,0,0.32);

  --header-h: 68px;
  --container-gutter: 24px;

  --hero-height: clamp(560px, 46vw, 840px);
  --hero-content-y: -10px;
  --hero-ground-width: max(1440px, 200vw);
  --hero-ground-drop: 46%;
  --kv-width: clamp(380px, 32vw, 460px);
  --kv-phone-area-h: clamp(380px, 32vw, 460px);
}

/* ──────── リセット・ベース ──────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

sub {
  vertical-align: baseline;
  font-size: 12px;
  margin: 0 0.2rem 0 0.1rem;
  font-weight: 900;
}

/* ──────── レイアウト共通 ──────── */
section {
  width: 100%;
  padding: 80px 0;
}

.container {
  width: min(calc(100% - var(--container-gutter) * 2), var(--container-max));
  margin: 0 auto;
}

/* ──────── Point ラベル（S2〜S5用） ──────── */
.point-label {
  font-family: "Nunito", sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--green-700);
  letter-spacing: 0.04em;
}

/* ──────── カテゴリラベル（Blobアニメ）機能一覧・ステップ用 ──────── */
.section-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Zen Maru Gothic", sans-serif;
}

.section-label-circle {
  width: 240px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.4;
  position: relative;
  z-index: 0;
}

.section-label-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #9ad7ff;
  border-radius: var(--blob-radius-1);
  animation: blob var(--blob-duration, 8s) ease-in-out infinite;
  animation-delay: var(--blob-delay, 0s);
}

@keyframes blob {
  0%, 100% {
    border-radius: var(--blob-radius-1);
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    border-radius: var(--blob-radius-2);
    transform: translate(var(--blob-x), var(--blob-y)) rotate(var(--blob-rotate));
  }
}

.label-on-white .section-label-circle,
.label-on-gray .section-label-circle {
  color: var(--green-700);
}

.label-on-white .section-label-circle::before,
.label-on-gray .section-label-circle::before {
  background: var(--green-light-bg);
}

/* ステップセクション用ラベル */
.label-on-steps .section-label-circle {
  color: var(--green-700);
}

.label-on-steps .section-label-circle::before {
  background: rgba(255,255,255,0.9);
}

/* ──────── セクション見出し・本文 ──────── */

/* S2〜S5（Point付き）：margin-topをリセット */
.feature-content .section-title {
  margin-top: 0;
}

/* S6・S7（blobラベル付き）：従来通りblobと重なる */
.features-intro .section-title,
.steps-intro .section-title {
  margin-top: -80px;
}

.section-title {
  position: relative;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.5;
  color: var(--text-main);
  z-index: 1;
}

.section-title em {
  font-style: normal;
  color: var(--green-600);
}

.pc-line-break { display: block; }
.tb-line-break { display: none; }

/* ステップセクションのタイトル */
.steps-section-title {
  color: var(--green-800);
}

.steps-section-title em {
  color: var(--green-600);
}

.section-body {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-sub);
}

.section-body br {
  display: block;
}

/* ──────── ストアボタン（画像） ──────── */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

.store-btn-img {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s;
}

.store-btn-img:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* HERO：TB/SP表示用ストアボタンはPCでは非表示 */
.hero-store-buttons-mobile {
  display: none;
}

/* ──────── QRコード ──────── */
.hero-qr,
.cta-qr {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  background: white;
  padding: 4px;
  flex-shrink: 0;
}

/* ──────── 検索窓デザイン ──────── */
.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-search-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
}

.hero-search-input {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hero-search-icon {
  color: var(--gray-600);
  flex-shrink: 0;
}

.hero-search-cta {
  font-size: 14px;
  font-weight: 900;
  color: var(--green-700);
  white-space: nowrap;
}

/* ──────── スマホ画面画像ラッパー（S2〜S5用） ──────── */
.phone-screen-wrap {
  flex-shrink: 0;
  width: 240px;
  border-radius: 32px;
  overflow: visible; /* キャラクターがはみ出るのでvisible */
  box-shadow: var(--shadow-phone);
  margin: 0 clamp(0px, 8vw, 48px);
  position: relative;
}

/* スマホ画像本体はrounded */
.phone-screen-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  overflow: hidden;
}

/* ──────── フィーチャーセクション：キャラクター ──────── */
.feature-chara {
  position: absolute;
  bottom: -24px;
  width: 152px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
  z-index: 5;
}

/* 右下配置（usage, smart） */
.feature-chara-right {
  right: -40px;
}

/* 左下配置（evapo, life）：reverseレイアウト側 */
.feature-chara-left {
  left: -40px;
}

/* ──────── フィーチャー行レイアウト ──────── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  background: #fffef7;
  padding: 64px;
  border-radius: 64px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.04);
}

.feature-row.reverse { flex-direction: row-reverse; }

.feature-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: clamp(20px, 3vw, 28px);
}

.feature-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /* キャラクターのはみ出し分を確保 */
  padding-bottom: 32px;
}

/* ──────── スクロールアニメーション ──────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ──────── アイコン・画像共通 ──────── */
.icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ============================================================
   統一背景ゾーン（KV〜暮らしの特別優待）
   ============================================================ */
.unified-bg {
  background: var(--unified-bg);
  overflow-x: hidden;
  margin-top: 60px;
}

.unified-section {
  background: transparent;
  padding: 80px 0;
}

#evapo, #smart, #life {
  padding: 40px 0;
}
#usage {
  padding: 80px 0 40px;
}
#life {
  padding: 40px 0 80px;
}


/* ============================================================
   S1: ファーストビュー #hero
   ============================================================ */
#hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: var(--hero-height);
  background-color: #defcfc;
}

#hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  transform: translateY(var(--hero-content-y));
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-app-name {
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-headline {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-headline .accent { color: var(--green-600); }

.hero-headline br { display: none; }

/* PC用ストアボタンブロック */
.hero-store-buttons-desktop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-kv {
  flex-shrink: 0;
  width: var(--kv-width);
  position: relative;
}

.kv-phones {
  position: relative;
  width: 100%;
  height: var(--kv-phone-area-h);
  animation: kv-float 3.6s ease-in-out infinite;

  overflow: visible;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes kv-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.kv-phone {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));

  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.kv-phone-back {
  width: 62%;
  left: -8%;
  top: 0;
  z-index: 2;
}

.kv-phone-front {
  width: 66%;
  right: 0;
  bottom: -8%;
  z-index: 1;
}

.kv-point-badge {
  position: absolute;
  top: -18px;
  right: -4px;
  width: clamp(112px, 9vw, 132px);
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.kv-chara {
  position: absolute;
  bottom: -20%;
  z-index: 3;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}

.kv-chara-ieba {
  width: clamp(98px, 8vw, 120px);
  right: 76px;
}

.kv-chara-waiguri {
  width: clamp(74px, 6vw, 90px);
  right: -4px;
}

.hero-ground {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: var(--hero-ground-width);
  min-width: 0;
  transform: translate(-50%, var(--hero-ground-drop));
  z-index: 1;
  pointer-events: none;
  line-height: 0;
}

.hero-ground-img {
  display: block;
  width: 100%;
  height: auto;
}


/* ============================================================
   S2〜S5: 機能セクション共通
   ============================================================ */
#usage {
  position: relative;
  z-index: 1;
}

.smart-compat-badge {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 12px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 2px solid var(--green-400);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(46,125,50,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.smart-compat-badge:hover {
  transform: translateY(-4px);
  border-color: var(--green-500);
  box-shadow: 0 12px 28px rgba(46,125,50,0.18);
}

.smart-compat-badge .scb-icon { width: 40px; height: 40px; }
.smart-compat-badge .scb-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.smart-compat-badge .scb-title { font-size: 16px; font-weight: 800; color: var(--green-700); }
.smart-compat-badge .scb-sub   { font-size: 14px; color: var(--text-sub); text-align: left; }


/* ============================================================
   S5: 暮らしの特別優待 #life
   ============================================================ */
#life .card { margin-top: 0; }

.card {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.card-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  text-align: center;
}

.card-contents {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 3vw, 24px);
}

.card-contents-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 24px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(4px, 0.25vw, 8px);
}

.card-contents-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.card-contents-section-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-contents-section-text {
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-contents-section-title {
  font-size: 16px;
  font-weight: 700;
}

.card-contents-section-body  {
  font-size: 14px;
  color: var(--text-sub);
  text-align: left;
}


/* ============================================================
   S6: 機能一覧 #features
   ============================================================ */
#features { background: var(--green-50); }

.features-intro { text-align: center; margin-bottom: 56px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 24px);
}

.feat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.feat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feat-desc  { font-size: 14px; color: var(--text-sub); line-height: 1.6; }


/* ============================================================
   S7: 3ステップ #steps
   ============================================================ */
#steps { background: var(--green-light-bg); }

.steps-intro { text-align: center; margin-bottom: 56px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 4vw, 32px);
  align-items: stretch;
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transform-origin: center bottom;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps-grid:hover .step-card {
  animation-name: step-sequential-zoom;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.steps-grid:hover .step-card:nth-child(1) { animation-delay: 0s; }
.steps-grid:hover .step-card:nth-child(2) { animation-delay: 0.44s; }
.steps-grid:hover .step-card:nth-child(3) { animation-delay: 0.88s; }

@keyframes step-sequential-zoom {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-card);
  }
  45% {
    transform: translateY(-4px) scale(1.035);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-card);
  }
}

.step-num {
  font-family: 'Nunito', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon-area {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-area .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 10px;
}

.step-body {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
  text-align: left;
}

/* ──────── ポイントバッジ：hover時のみ強調 ──────── */
.kv-point-badge,
.steps-kv-badge {
  transform-origin: center;
  transition: filter 0.25s ease;
}

.kv-point-badge:hover,
.steps-kv-badge:hover {
  animation: badge-swing 0.7s ease both;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.24));
}

@keyframes badge-swing {
  0%   { transform: translateX(0) rotate(0deg) scale(1); }
  35%  { transform: translateX(-6px) rotate(-5deg) scale(1.04); }
  70%  { transform: translateX(8px) rotate(6deg) scale(1.04); }
  100% { transform: translateX(0) rotate(0deg) scale(1); }
}


/* ============================================================
   S8: FAQ #faq
   ============================================================ */

#faq { background: var(--green-50); }

/* section-labelを削除したため、faq-introはシンプルなタイトルのみ */
.faq-intro {
  text-align: center;
  margin-bottom: 48px;
}

/* FAQタイトル：blobラベルなしなのでmargin-topをリセット */
.faq-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--text-main);
}

.faq-title em {
  font-style: normal;
  color: var(--green-600);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--green-50); }

.faq-q-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}

.faq-q-badge {
  color: var(--green-500);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Maru Gothic", sans-serif;
}

.faq-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 16px 24px 20px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--green-50);
}

.faq-item.open .faq-answer { display: block; }

.faq-a-badge {
  color: var(--green-700);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-bottom: 8px;
}


/* ============================================================
   S9: クロージングCTA #cta
   ============================================================ */
#cta { padding: 0; }

/* 背景：明るめの緑グラデーション */
.cta-bg {
  background:
    radial-gradient(circle at 18% 24%, rgba(76,175,80,0.35) 0, transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(102,187,106,0.28) 0, transparent 36%),
    radial-gradient(circle at 76% 86%, rgba(27,94,32,0.45) 0, transparent 40%),
    linear-gradient(145deg, #2e7d32 0%, #388e3c 48%, #43a047 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ──────── バッジ＋キャラクターブロック ──────── */
.cta-chara-block {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.cta-badge {
  width: clamp(100px, 12vw, 140px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.2));
  flex-shrink: 0;
}

/* アイエバくん側 */
.cta-chara-ieba-wrap,
.cta-chara-waiguri-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cta-chara-img {
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
}

.cta-chara-ieba {
  width: clamp(72px, 8vw, 100px);
}

.cta-chara-waiguri {
  width: clamp(56px, 6vw, 80px);
}

/* 吹き出し */
.cta-speech-bubble {
  background: white;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  padding: 12px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  white-space: nowrap;
}

/* 吹き出しの三角（下向き） */
.cta-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

/* ──────── CTAタイトル ──────── */
.cta-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  color: white;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* 「便利」「楽しく」：明るい背景に合わせて鮮やかな黄緑に */
.cta-title span { color: #b9f6ca; }

.cta-body {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 2.0;
}

/* ──────── CTAストアボタン＋QR ──────── */
.cta-store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA用検索窓：白系に調整 */
.cta-search-bar {
  justify-content: center;
  margin-top: 14px;
}

.cta-search-bar .hero-search-label {
  color: rgba(255,255,255,0.85);
}

.cta-search-bar .hero-search-cta {
  color: #b9f6ca;
}

.footnote {
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}


/* ──────── モーション軽減設定 ──────── */
@media (prefers-reduced-motion: reduce) {
  .steps-grid:hover .step-card {
    transform: none;
  }
}


/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --container-gutter: 24px;
    --hero-height: auto;
    --hero-content-y: 0;
    --hero-ground-width: max(900px, 300vw);
    --hero-ground-drop: 50%;
    --kv-width: min(400px, 82vw);
    --kv-phone-area-h: clamp(250px, 76vw, 390px);
  }

  section,
  .unified-section {
    padding: clamp(60px, 10vw, 80px) 0;
  }

  #hero {
    height: auto;
    padding: 64px 0 0;
  }

  #hero .container {
    height: auto;
    display: block;
    padding: 0 0 clamp(104px, 28vw, 150px);
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(20px, 6vw, 32px);
    transform: none;
  }

  .hero-text {
    align-items: center;
  }

  .hero-store-buttons-desktop {
    display: none;
  }

  .hero-store-buttons-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: clamp(4px, 2vw, 12px);
  }

  .hero-search-bar {
    justify-content: center;
    margin-top: 8px;
  }

  .hero-app-name {
    font-size: clamp(12px, 3.4vw, 16px);
  }

  .hero-headline {
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-headline br { display: block; }

  .hero-kv {
    width: var(--kv-width);
  }

  .kv-phones {
    height: var(--kv-phone-area-h);
  }

  .kv-phone-back {
    left: 0;
    top: -8%;
  }

  .kv-point-badge {
    width: clamp(70px, 22vw, 110px);
    top: -10px;
    right: 2px;
  }

  .kv-chara {
    bottom: -12px;
  }

  .kv-chara-ieba {
    width: clamp(60px, 19vw, 98px);
    right: 18%;
  }

  .kv-chara-waiguri {
    width: clamp(46px, 15vw, 74px);
    right: 0;
  }

  .store-buttons {
    justify-content: center;
  }

  .hero-qr,
  .cta-qr {
    width: 60px;
    height: 60px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 24px;
    border-radius: 24px;
  }

  .feature-content {
    align-items: center;
  }

  /* SP時：Point番号はセンター揃え */
  .point-label {
    text-align: center;
  }

  .pc-line-break { display: none; }
  .tb-line-break { display: block; }

  .section-body {
    text-align: left;
  }

  .section-body br {
    display: none;
  }

  .phone-screen-wrap {
    width: clamp(180px, 64vw, 200px);
    margin: 0;
  }

  /* SP時：キャラクターサイズ調整 */
  .feature-chara {
    width: 100px;
    bottom: -18px;
  }

  .feature-chara-right {
    right: -18px;
  }

  .feature-chara-left {
    left: -18px;
  }

  .card {
    max-width: 100%;
  }

  .unified-section {
    padding: 80px 0;
  }
  
  #evapo, #smart, #life {
    padding: 12px 0;
  }
  #usage {
    padding: 80px 0 12px;
  }
  #life {
    padding: 12px 0 80px;
  }

  .card-contents,
  .features-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .feat-card {
    border-radius: var(--radius-md);
    padding: 12px 24px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(4px, 0.25vw, 8px);
  }

  .feat-icon {
    width: 80px;
    height: 80px;
  }

  .feat-card > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.6;
  }

  .feat-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
  }

  .feat-desc {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  .smart-compat-badge {
    padding: 14px 18px;
  }

  /* CTA SP調整 */
  .cta-bg {
    padding: 60px 0 48px;
  }

  .cta-chara-block {
    gap: 16px;
    margin-bottom: 32px;
  }

  .cta-speech-bubble {
    font-size: 11px;
    padding: 6px 10px;
    white-space: normal;
    max-width: 100px;
  }

  .cta-body {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
  }

  .cta-body br {
    display: none;
  }

  .cta-search-bar {
    flex-wrap: wrap;
    justify-content: center;
  }

}
