@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@400;700;900&display=swap');

:root {
  /* Core Colors */
  --color-canvas: #0a0f18; /* Dark Premium background */
  --color-canvas-light: #f4faff; /* グレーみを完全に取り除いた、限りなく白に近いピュアでクリーンな水色 */
  --color-white: #ffffff;
  --color-black: #111827;
  --color-text-dark: #374151;
  --color-text-muted: #6b7280;
  
  /* Trust Blue Accent Palette */
  --color-primary-blue: #0073e6; /* 暗いブルー（#0055ff）から、dodaのような明るく信頼感のあるブルーへ */
  --color-light-blue: #00a2ff;
  --color-cyan: #00e5ff;
  
  /* Surfaces */
  --color-surface-dark: rgba(15, 23, 42, 0.8);
  --color-surface-light: #ffffff;
  --color-border-light: #cbd5e1; /* Slightly darker border for contrast */
  --color-border-dark: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-family-display: 'Noto Serif JP', 'Inter', serif;
  --font-family-body: 'Noto Sans JP', 'Inter', sans-serif;
  
  /* Rounded */
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 15px;
  --rounded-xl: 20px;
  --rounded-xxl: 30px;
  --rounded-pill: 100px;
  --rounded-full: 9999px;

  /* Spacing */
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-xxl: 40px;
  --spacing-section: 140px; /* 余白を大きく取り、ラグジュアリーでゆったりとした配置に */
}

html {
  scroll-padding-top: 60px; /* ヘッダー縮小に伴いオフセットも小さく調整 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Display Utilities */
.sp-only {
  display: none !important;
}
.pc-only {
  display: block !important;
}

body {
  background-color: var(--color-canvas);
  color: var(--color-white);
  font-family: var(--font-family-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-body); /* Changed to Sans-serif for modern SaaS look, except specific places */
  font-weight: 700;
  line-height: 1.4;
}



.text-blue {
  color: var(--color-primary-blue);
}

.text-light-blue {
  color: var(--color-light-blue);
}

.text-gradient {
  background: linear-gradient(to bottom, #ffffff 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

a {
  color: var(--color-light-blue);
  text-decoration: none;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.section {
  padding: var(--spacing-section) 0;
}

.bg-white {
  background-color: var(--color-canvas-light);
  color: var(--color-black);
}

.bg-dark {
  background-color: var(--color-canvas);
  color: var(--color-white);
}

.sp-br {
  display: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* ロゴ拡大に合わせて少しだけ広げる */
  padding: 0 var(--spacing-xxl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* ボーダーを黒系に */
  background: rgba(255, 255, 255, 0.85); /* 0.75と0.92の間をとって、程よい透け感と白さを両立 */
  backdrop-filter: blur(10px); /* ぼかしも中間の強さに */
}

.header-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header-nav a.nav-link {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a.nav-link:hover {
  color: var(--color-light-blue);
}

.btn-download {
  background: linear-gradient(90deg, #005ce6 0%, #00a2ff 100%); /* 角度を横にし、色味を少し深くして白文字の視認性を高める */
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--rounded-pill);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
  background: linear-gradient(90deg, #004ecc 0%, #008be6 100%); /* ホバー時は少し色を濃く */
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh; /* 画面全体を覆うように変更し、ヘッダーの後ろまで背景画像を敷き詰める */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-section) var(--spacing-xl);
  background-image: url('images/FV_PC.png');
  background-size: cover;
  background-position: center top; /* ピクセル指定での位置ずらしを廃止し、下部に隙間ができるのを防ぐ */
}

.hero-content {
  max-width: 100%; /* 長い1行テキストが制限を受けないように最大幅を拡張 */
  z-index: 2;
  margin-top: -1vh; /* さらにほんの少しだけ下に移動（-4vh -> -1vh） */
  text-align: center; /* 中央揃えに戻す */
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: 2px;
  line-height: 1.15; /* PC版は元々のタイトな行間 */
  color: #fff;
  text-shadow: 
    0 4px 40px rgba(0, 0, 0, 0.8), /* 広くふんわりとした影で背景から浮かび上がらせる */
    0 2px 10px rgba(0, 0, 0, 0.5); /* 文字の輪郭付近を少し引き締める */
  font-weight: 900;
  font-feature-settings: "palt"; /* 句読点や括弧の無駄な余白を詰め、中央揃え時の視覚的な中心ズレを防ぐ */
}

.hero-title span {
  display: inline-block;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.4;
  margin-top: 5px;
}

.hero-title-highlight {
  font-size: clamp(48px, 7vw, 80px) !important;
  margin: 10px 0;
  display: inline-block;
  font-weight: 900;
}

/* Reasons Section */
.reason-block {
  margin-bottom: 140px; /* 120pxから140pxに微増し、ヘッダー下の窮屈さを軽減 */
}
/* Hook Section */
.hook-section {
  position: relative;
  padding: 40px 20px; /* 縦幅を狭く調整 */
  background: #ffffff; /* 重い帯をやめ、クリーンな白背景に変更 */
  z-index: 10;
  text-align: center;
  border-bottom: none;
  filter: drop-shadow(0 12px 24px rgba(0, 85, 255, 0.08)); /* 黒い影は背景をくすませるため、青みがかったクリアな影に変更 */
}

.hook-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 40px solid #ffffff; /* 白背景から下の水色背景へ自然に刺さる白い矢印 */
  z-index: 10;
}



.hook-title {
  color: var(--color-black); /* 黒文字に変更 */
  font-size: clamp(26px, 3.8vw, 40px); /* 少し大きく調整 */
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  margin: 0;
}

.hook-highlight {
  color: var(--color-black); /* 黒文字 */
  position: relative;
  display: inline-block;
  padding: 0 4px;
  z-index: 1;
}

.hook-highlight::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px; 
  background: rgba(0, 162, 255, 0.5); /* 不透明度を50%に引き上げ、はっきりとした「明るいブルー」を発色させる */
  box-shadow: none;
  z-index: -1;
  border-radius: 4px;
}
#reasons {
  padding-top: 110px; /* 80pxだと詰めすぎたため、140pxとの間をとって自然な抜け感に戻す */
}

.reason-block {
  margin-bottom: 160px; /* 余白を広げ、各コンテンツを際立たせる */
}
@media (max-width: 768px) {
  #reasons {
    padding-top: 60px; /* スマホ版のみフックからの距離を詰める */
  }
  .reason-block {
    margin-bottom: 100px; 
  }
}

.reason-badge {
  display: inline-block;
  background: var(--color-primary-blue);
  color: #fff;
  padding: 6px 24px; /* インライン配置に合わせて余白を縮小 */
  border-radius: var(--rounded-pill);
  font-size: 20px; /* 少し縮小 */
  font-weight: 700;
  margin-right: 16px; /* 右側に余白 */
  margin-bottom: 0; /* 下余白を削除 */
  vertical-align: middle; /* テキストの縦中央に合わせる */
  transform: translateY(-3px); /* 視覚的な縦位置微調整 */
  letter-spacing: 1px;
}

.reason-heading {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--spacing-xxl);
  color: var(--color-black);
  line-height: 1.6;
}

.reason-heading span.highlight {
  color: var(--color-primary-blue);
  font-size: 1.1em;
}

/* Bento Grids */
.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Marquee / Infinite Scroll Section */
.marquee-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 10px 0 20px; /* 余白をさらに縮小 */
  position: relative;
  background-color: transparent;
}
.marquee-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
}

.marquee-set {
  display: flex;
  gap: 32px;
}

.marquee-track .card-light {
  width: 360px; /* カード幅を広げることで、16:9の画像も大きくなり縦幅を贅沢に使う */
  flex-shrink: 0;
}

.marquee-track .bento-card-title {
  font-size: 20px; /* カードが大きくなった分、フォントも少し大きく */
  letter-spacing: -0.02em;
  font-feature-settings: "palt";
}

/* Control Buttons */
.marquee-controls {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px; /* 余白を広げて窮屈さをなくす */
}

.mq-btn {
  background: transparent;
  border: 2px solid var(--color-primary-blue);
  color: var(--color-primary-blue);
  border-radius: 50%;
  width: 60px; /* ボタンサイズを大きく戻す */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mq-btn svg {
  width: 24px;
  height: 24px;
}

.mq-btn:hover {
  background: var(--color-primary-blue);
  color: #fff;
  transform: scale(1.05);
}

/* Light Cards (Reasons) */
.card-light {
  background-color: var(--color-surface-light);
  border-radius: var(--rounded-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 12px 36px rgba(0, 85, 255, 0.08); /* 影にブランドカラーの青みを足して透明感と清潔感を演出 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dark Cards (Use Cases) */
.card-dark {
  background-color: var(--color-canvas);
  border-radius: var(--rounded-lg);
  border: 1px solid var(--color-border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 85, 255, 0.15); /* Soft blue shadow for the dark images on light background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* 白背景の画像とカード下部が同化しないように、うっすらとした境界線を引く */
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Unified Bento Card Styling (Reasons & Use Cases) */
.bento-card-header {
  padding: 24px 24px 20px; /* 余白を広げ、縦幅をゆったり使う */
  display: flex;
  align-items: center;
  gap: 16px; /* アイコンとテキストの間隔を広げる */
  position: relative;
}

.bento-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px; /* paddingに合わせて変更 */
  right: 20px; /* paddingに合わせて変更 */
  height: 2px;
  background-color: var(--color-primary-blue);
}

.bento-card-number {
  background: var(--color-primary-blue);
  color: #fff;
  width: 48px; /* 60pxから縮小 */
  height: 48px; /* 60pxから縮小 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; /* 28pxから縮小 */
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.bento-card-title {
  font-size: 20px; /* 22pxから縮小 */
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4; /* 1.5から少し詰める */
  margin: 0;
}

.bento-card-text {
  padding: 20px 24px 32px; /* 下部を中心に余白を広げ、カードの縦幅をしっかりと伸ばす */
  font-size: 16px; /* 文字を少し大きく戻す */
  color: var(--color-text-dark);
  line-height: 1.7; /* ゆったりとした行間に戻して読みやすく */
  font-weight: 500;
  text-align: left;
}

/* Override text colors for dark cards */
.card-dark .bento-card-title {
  color: #ffffff;
}

.card-dark .bento-card-text {
  color: #d1d5db; /* Light gray for readability */
}

.card-dark .bento-card-title .text-blue,
.card-dark .bento-card-text .text-blue,
.card-dark .bento-card-text strong {
  color: var(--color-light-blue); /* Use lighter blue for better contrast on dark bg */
}

.bento-card-text strong {
  color: var(--color-primary-blue);
}

/* CTA Banner & Button */
.cta-banner {
  margin-top: 20px;
  padding: 40px 20px;
  background-color: var(--color-canvas);
  border-radius: var(--rounded-xl);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-text {
  font-size: 24px;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 700;
}

.cta-text span {
  font-size: 32px;
  display: block;
  margin-top: 10px;
}

.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  padding: 20px 60px;
  border-radius: var(--rounded-pill);
  background: var(--color-light-blue);
  color: white !important;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 162, 255, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-3px);
  background: #0088dd;
  box-shadow: 0 10px 30px rgba(0, 162, 255, 0.5);
}

/* Contact Form */
.contact-section {
  padding: 0; /* 余白を削除しフルワイド対応 */
  background-color: #ffffff; /* 白に戻す */
}

.contact-wrapper {
  display: flex;
  width: 100vw; /* 画面幅いっぱい */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  align-items: stretch;
  min-height: 700px;
}

/* 左側：LV画像 */
.contact-split-image {
  flex: 0 0 calc(50% + 60px); /* 三角の右端（中央＋60px）まで画像を広げる */
  background-image: url('images/LV.png');
  background-size: cover;
  background-position: top center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}


/* 右側：フォームコンテナ */
.contact-form-container {
  flex: 1;
  background: #ffffff; /* 白背景 */
  padding: 80px 40px; /* 左右の余白を大幅に減らし、フォーム幅を最大化 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2; /* 画像の上に影を落とすため */
  box-shadow: -6px 0 6px -3px rgba(0, 0, 0, 0.3); /* ネガティブスプレッド（-3px）を使い、上下の影の漏れを完全に消去。左側にだけギュッとシャープに落ちる影に変更 */
}

.contact-form-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-split-image {
    flex: none;
    width: 100%;
    min-height: 400px;
  }
}

/* フォームのインライン化 */
.form-group {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #333;
  font-size: 14px;
  width: 140px; /* ラベルの固定幅 */
  flex-shrink: 0;
  margin-bottom: 0;
}

.form-group label span.required {
  color: #fff;
  font-size: 11px;
  margin-left: auto; /* 右寄せ */
  background: #e63946;
  padding: 3px 6px;
  border-radius: 4px;
}

.form-control-wrapper {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: #ffffff;
  border: 1px solid #ced4da;
  border-radius: var(--rounded-md);
  font-size: 15px;
  transition: all 0.2s ease;
  resize: none; /* テキストエリアの手動サイズ変更を禁止 */
}

.form-control:focus {
  outline: none;
  border-color: var(--color-light-blue);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.2);
  background: #ffffff;
}

/* 企業名（最初の項目）をピコピコ光らせるアニメーション */
@keyframes pulse-red-border {
  0%, 100% {
    border-color: #ced4da; /* 通常のグレー枠 */
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
  50% {
    border-color: #e63946; /* 赤枠 */
    box-shadow: 0 0 0 1px #e63946, 0 0 10px rgba(230, 57, 70, 0.4); /* 枠を太く見せつつ、ふんわり光らせる */
  }
}

#company {
  animation: pulse-red-border 1.5s infinite;
  border: 1px solid #ced4da; /* 初期状態は標準のグレー枠 */
}

#company:focus {
  animation: none; /* フォーカス（入力開始）で光るのを止める */
  border-color: var(--color-light-blue);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.2);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(90deg, #005ce6 0%, #00a2ff 100%);
  border: none;
  color: #fff;
  padding: 18px 0;
  border-radius: var(--rounded-pill);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
  margin-top: 15px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 114, 255, 0.6);
  background: linear-gradient(90deg, #004ecc 0%, #008be6 100%);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-light-blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 162, 255, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #0088dd;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 162, 255, 0.6);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Powerful Blue Gradient Background */
.bg-gradient-power {
  background: linear-gradient(135deg, #001f3f 0%, #0052cc 100%);
  color: #ffffff;
}

.bg-gradient-power .reason-heading {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bg-gradient-power .reason-heading span.highlight {
  color: #ffffff; /* シアンから白に変更して統一感を持たせる */
}

.bg-gradient-power .mq-btn {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.bg-gradient-power .mq-btn:hover {
  background: #ffffff;
  color: #0052cc;
  border-color: #ffffff;
}

/* ==========================================
   Responsive Design (Mobile & Tablet)
   ========================================== */
@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
  
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
  
  /* 1. 全体の余白・フォントサイズ最適化 */
  .section {
    padding: 60px 0;
  }
  .container {
    padding: 0 15px;
  }
  .reason-block {
    margin-bottom: 80px;
  }
  .reason-heading {
    font-size: clamp(20px, 5.5vw, 26px);
    margin-bottom: 30px;
    font-feature-settings: "palt"; /* 読点の余白を詰めて中央揃えのズレを解消 */
  }
  .reason-badge {
    display: table; /* または block と margin: 0 auto; で中央揃えしつつ改行 */
    margin: 0 auto 12px;
  }
  .hook-section {
    padding: 20px 15px; /* 上下余白を縮小 */
  }
  .hook-title {
    font-size: clamp(20px, 5vw, 26px);
    line-height: 1.4; /* 行間を縮めてコンパクトに */
  }
  .hook-title span[style*="font-size"] {
    font-size: 14px !important;
    letter-spacing: 1px !important;
  }
  .hook-section::after {
    border-left-width: 30px;
    border-right-width: 30px;
    border-top-width: 20px;
    bottom: -20px;
  }

  /* 2. ヘッダーのコンパクト化 */
  .header {
    height: 60px;
    padding: 0 15px;
  }
  .header-nav {
    display: none; /* スマホではナビゲーションを非表示にし、ボタンを優先 */
  }
  .logo img {
    height: 45px !important;
  }
  .btn-download {
    padding: 8px 16px;
    font-size: 12px;
  }
  .hero {
    min-height: auto;
    aspect-ratio: 936 / 1250; /* 元の1380から少し縦を縮め、画像下部をカットして下のコンテンツを上に引き上げる */
    background-image: url('images/FV_SP.png');
    background-size: 100% auto; /* 横幅を100%にし、はみ出さずに全体を表示 */
    background-repeat: no-repeat;
    background-position: top center;
    padding-left: 8px;
    padding-right: 8px;
  }

  /* 3. ファーストビュー（FV）テキストのはみ出し解消 */
  .hero-content {
    margin-top: 2vh; /* わずかに下へ移動 */
    width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(24px, 7vw, 36px) !important; /* テキストサイズを拡大 */
    white-space: normal !important; /* 絶対改行防止を解除し、折り返しを許可 */
    letter-spacing: -0.02em; /* 微妙に詰めて1行に収める */
    line-height: 1.3;
    text-shadow:
      0 4px 20px rgba(0, 0, 0, 0.9),
      0 2px 8px rgba(0, 0, 0, 0.7),
      0 0 40px rgba(0, 0, 0, 0.5); /* スマホ版は影を濃くして視認性を強化 */
    text-align: center;
  }
  .hero-title span {
    font-size: clamp(24px, 7vw, 36px) !important;
  }
  .hero-title-highlight {
    font-size: clamp(32px, 9vw, 44px) !important;
  }

  /* AI Camera Mobile Layout */
  .ai-camera-sp-container {
    background-color: #ffffff; /* 白背景 */
    width: 100%;
    margin-top: 0; /* 余白をなくして黒帯を消す */
  }
  .ai-camera-sp-text {
    padding: 40px 20px 20px;
  }
  .ai-camera-sp-title {
    font-size: clamp(24px, 6.5vw, 32px);
    font-weight: 900;
    line-height: 1.4;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
  }
  .ai-camera-sp-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: -0.02em; /* 文字間を詰めて「化。」が改行されないようにする */
    font-feature-settings: "palt"; /* さらに読点などの余白を詰める */
  }
  .ai-camera-sp-desc strong {
    color: var(--color-primary-blue);
    font-weight: 700;
  }

  /* 4. グリッドレイアウトの1列化 */
  .bento-grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bento-grid-3 {
    grid-template-columns: 1fr;
    gap: 40px; /* 理由3のボックス間の間隔を少し広げる */
  }
  .bento-card-header {
    padding: 16px;
  }
  .bento-card-text {
    padding: 16px 16px 24px;
    font-size: 14px;
  }
  .bento-card-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .bento-card-title {
    font-size: 18px;
  }

  /* 5. マルキー（カルーセル）の微調整 */
  .marquee-wrapper {
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロール用 */
  }
  .marquee-track {
    gap: 16px; /* セット間の間隔 */
  }
  .marquee-set {
    display: grid;
    grid-template-rows: 1fr; /* スマホ版は横1列構成に変更 */
    grid-auto-flow: column;
    gap: 16px; /* カード間の間隔 */
  }
  .marquee-track .card-light {
    width: 260px; /* 少し大きくして視認性を高める */
  }
  .marquee-track .bento-card-header {
    padding: 16px; /* 余白を少し広げる */
  }
  .marquee-track .bento-card-title {
    font-size: 16px; /* タイトルを少し大きく */
  }
  .marquee-track .bento-card-text {
    padding: 12px 16px 20px;
    font-size: 13px; /* 本文も少し大きく */
    line-height: 1.6;
  }
  .marquee-controls {
    display: none; /* スマホ版では無限スワイプができるためボタンを非表示 */
  }
  .marquee-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .marquee-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e5e7eb;
    transition: all 0.3s ease;
  }
  .marquee-dots .dot.active {
    background-color: #6b7280; /* より目立つように濃いグレーか、ブランドカラーなら var(--color-primary-blue) */
  }

  /* 6. フォームエリアのスマホ最適化 */
  .contact-section {
    padding-bottom: 0 !important; /* 不要な背景の隙間（線に見える原因）を無くす */
  }
  .contact-wrapper {
    min-height: auto; /* 余分な高さを解除 */
  }
  .contact-split-image {
    display: none; /* スマホ版ではLV画像を非表示 */
  }
  .contact-form-container {
    padding: 40px 20px 50px; /* フォーム下の白余白は広くとる */
    box-shadow: none; /* スマホ版では影（線に見える原因）を消去 */
  }
  .contact-form-title {
    font-size: 22px;
  }
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .form-group label {
    width: 100%;
    margin-bottom: 0;
  }
  .form-group label span.required {
    margin-left: 10px;
    margin-right: auto; /* スマホ版では「必須」ラベルを左寄せ気味にキープ */
  }
  .form-control-wrapper {
    width: 100%;
  }

  .btn-submit {
    padding: 15px 0;
    font-size: 16px;
  }

  /* その他 CTAエリア */
  .cta-text {
    font-size: 18px;
  }
  .cta-text span {
    font-size: 22px;
  }
  .btn-primary-gradient {
    padding: 15px 30px;
    font-size: 16px;
  }

}

/* Footer Tele-style (Base / PC) */
.footer-tele {
  background-color: #0e121a; /* さらに黒に近いダークネイビー */
  color: #fff;
  padding: 60px 40px 30px;
  position: relative;
  font-family: var(--font-primary);
}
.footer-tele-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.footer-tele-logo img {
  height: 80px; /* さらにロゴサイズを大きく調整 */
  filter: brightness(0) invert(1);
}
.footer-tele-line {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 12px 0 24px; /* 上部の余白（ロゴとの距離）を縮小し、下部の余白はキープ */
}
.footer-tele-company {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-tele-address {
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 24px;
}
.footer-tele-privacy {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.footer-tele-privacy .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #fff;
  color: #0e121a;
  border-radius: 50%;
  margin-left: 8px;
}
.footer-tele-privacy .arrow svg {
  width: 12px; /* SVG自体のサイズを小さくし、◯の中に余白を持たせる */
  height: 12px;
}
.footer-tele-copy {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 60px;
  text-align: center;
}

/* PC */
@media (min-width: 769px) {
  .footer-tele-inner {
    display: block;
  }
  .footer-tele-top {
    display: flex;
    justify-content: center; /* 全体を中心に寄せる */
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    gap: 60px; /* ロゴとテキスト間の適度な距離 */
  }
  .footer-tele-logo {
    width: auto; /* 幅指定を解除しコンテンツサイズに合わせる */
  }
  .footer-tele-info {
    width: auto; /* 幅指定を解除しコンテンツサイズに合わせる */
    text-align: left; /* テキスト自体は左揃えをキープ */
  }
  .footer-tele-company {
    font-size: 15px;
  }
  .footer-tele-copy {
    width: 100%;
    text-align: center;
    margin-top: 60px;
  }
}

/* 7. Footer Mobile Overrides (Correct placement) */
@media (max-width: 768px) {
  .footer-tele {
    padding: 24px 20px 32px; /* コピーライトの下にも少しゆとりを持たせる（16px → 32px） */
  }
  .footer-tele-logo {
    text-align: center;
  }
  .footer-tele-logo img {
    margin-top: 0;
  }
  .footer-tele-line {
    margin: 12px 0 16px; /* スマホ版のみ線の上下余白を縮小 */
  }
  .footer-tele-address {
    margin-bottom: 16px; /* アドレス下の余白を縮小 */
  }
  .footer-tele-info {
    text-align: left;
  }
  .footer-tele-copy {
    text-align: center;
    margin-top: 20px; /* コピーライト上の余白を縮小 */
  }
}
