/* ============================================================
   Content Analytics LP - New Design
   ============================================================ */

/* --- CSS変数 --- */
:root {
  /* カラー */
  --color-brand-orange: #DC5F25;
  --color-dark-navy: #2A2E5B;
  --color-text: #545454;
  --color-gold: #FFBD59;
  --color-teal: #47839C;
  --color-light-orange: #F9AF67;
  --color-bg-gray: #F3F6F6;
  --color-border: #D9D9D9;
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* フォント */
  --font-family: 'Noto Sans JP', sans-serif;

  /* コンテナ */
  --container-max: 1200px;
  --container-padding: 20px;

  /* ブレークポイント用（参照メモ） */
  /* SP: ~767px / TB: 768px~1199px / PC: 1200px~ */
}

/* --- リセット --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* scroll-behavior: smoothはJSカスタムスクロールと競合するため無効化 */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
}

/* --- PC/SP切り替え用改行 --- */
br.sp-only { display: none; }

/* --- 共通ユーティリティ --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header__logo-ca {
  height: 37px;
  width: auto;
}

.header__logo-produced {
  font-size: 8px;
  line-height: 12px;
  color: var(--color-dark-navy);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.header__logo-ut {
  height: 10px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
}

.header__nav-list {
  display: flex;
  gap: 48px;
}

.header__nav-list li {
  flex-shrink: 0;
}

.header__nav-list a {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  white-space: nowrap;
  transition: color 0.2s;
}

.header__nav-list a:hover {
  color: var(--color-brand-orange);
}

.header__nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__btn-download {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-teal);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.header__btn-download:hover {
  opacity: 0.7;
}

.header__btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 50px;
  padding: 0 20px;
  background: var(--color-brand-orange);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  border-radius: 9999px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.header__btn-contact:hover {
  opacity: 0.85;
}

/* SP用ハンバーガー（PC時は非表示） */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.header__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

/* ============================================================
   MV（メインビジュアル）
   ============================================================ */
.mv {
  position: relative;
  margin-top: 82px; /* ヘッダー高さ分 */
  height: 546px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: linear-gradient(135deg, #f05a2a 0%, #d94090 25%, #8b3ab5 55%, #4a60d4 80%, #3a8bc0 100%);
}

.mv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mv__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #080808;
  opacity: 0.08;
}

.mv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 星の装飾 */
.mv__star {
  position: absolute;
  z-index: 1;
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.mv__star--left {
  top: 125px;
  left: 50%;
  margin-left: -558px;
  width: 220px;
  height: 220px;
}

.mv__star--right {
  top: 80px;
  left: 50%;
  margin-left: 340px;
  width: 220px;
  height: 220px;
}

.mv__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 74px 40px 0;
  color: var(--color-white);
  text-align: center;
}

.mv__subcatch {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
}

.mv__catch {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 30px;
}

.mv__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 44px;
}

.mv__cta {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-bottom: 78px;
}

.mv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 61px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 9999px;
  transition: opacity 0.2s;
}

.mv__btn:hover {
  opacity: 0.85;
}

.mv__btn--primary {
  background: var(--color-brand-orange);
  color: var(--color-white);
}

.mv__btn--secondary {
  background: var(--color-white);
  color: var(--color-text);
}

/* ============================================================
   ロゴスライダー
   ============================================================ */
.logo-slider {
  padding: 29px 0;
  overflow: hidden;
  background: var(--color-white);
}

.logo-slider__track {
  display: flex;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}

.logo-slider__list {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 24px;
}

.logo-slider__list img {
  height: 56px;
  width: auto;
  opacity: 0.7;
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* AIエージェント内 TODO: 働き方が劇的に変わる */
.ai-agent__workstyle-todo {
  text-align: center;
  padding: 40px;
  margin-bottom: 32px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
}

.ai-agent__workstyle-todo p {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   問題提起セクション
   ============================================================ */
.problem {
  padding: 50px 0 60px;
  background: linear-gradient(to right, #a6a6a6, #ffffff);
}

.problem__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 50px;
  text-align: center;
}

.problem__title {
  font-size: 37px;
  font-weight: 700;
  line-height: 52px;
  color: #000000;
  margin-bottom: 16px;
}

.problem__subtitle {
  font-size: 19px;
  font-weight: 400;
  line-height: 37px;
  color: #000000;
  margin-bottom: 48px;
}

.problem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.problem__card {
  background: var(--color-white);
  border-radius: 36px;
  padding: 40px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.problem__card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.problem__card-icon svg {
  width: 100%;
  height: 100%;
}

.problem__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 33px;
  color: #000000;
  margin-bottom: 26px;
}

.problem__card-desc {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  text-align: left;
}

/* ============================================================
   AIエージェント機能セクション
   ============================================================ */
.ai-agent {
  position: relative;
  padding: 60px 0 50px;
  background: linear-gradient(to bottom, #001f65, #6895fd);
  color: var(--color-white);
  overflow: hidden;
}

/* 右上の星装飾（中央基準で固定位置配置。overflow:hiddenではみ出し分はクリップ） */
.ai-agent__star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.ai-agent__star--large {
  top: 78px;
  left: 50%;
  margin-left: 360px;
  width: 190px;
  height: 190px;
}

.ai-agent__star--small {
  top: 193px;
  left: 50%;
  margin-left: 493px;
  width: 109px;
  height: 109px;
}

.ai-agent__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.ai-agent__header {
  text-align: center;
  margin-bottom: 38px;
}

.ai-agent__logo {
  height: auto;
  width: 188px;
  margin: 0 auto 12px;
}

.ai-agent__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 67px;
  margin-bottom: 20px;
}

.ai-agent__desc {
  font-size: 19px;
  font-weight: 400;
  line-height: 37px;
  max-width: 800px;
  margin: 0 auto;
}

/* 動画ボタン */
/* YouTube埋め込み（16:9固定、横幅720pxまで。それ以下はアスペクト比を保って縮小） */
.ai-agent__video-embed {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 64px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.ai-agent__video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* 機能カード */
.ai-agent__feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 90px;
  padding: 0;
}

.ai-agent__feature--reverse {
  direction: rtl;
}

.ai-agent__feature--reverse > * {
  direction: ltr;
}

.ai-agent__feature-content {
  text-align: left;
}

.ai-agent__feature-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.ai-agent__feature-title {
  font-size: 27px;
  font-weight: 700;
  line-height: 37px;
  margin-bottom: 16px;
}

.ai-agent__feature-desc {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 12px;
}

.ai-agent__feature-image img {
  width: 100%;
  border-radius: 8px;
}

/* ============================================================
   選ばれる理由セクション
   ============================================================ */
.reasons {
  padding: 50px 0 70px;
  background: linear-gradient(to right, #cdffd8, #94b9ff);
}

.reasons__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.reasons__title {
  font-size: 43px;
  font-weight: 700;
  line-height: 59px;
  color: #000000;
  margin-bottom: 16px;
}

.reasons__subtitle {
  font-size: 19px;
  font-weight: 400;
  line-height: 37px;
  color: var(--color-text);
  margin-bottom: 48px;
}

.reasons__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 47px;
}

.reasons__card {
  background: var(--color-white);
  border-radius: 36px;
  padding: 40px 28px;
  text-align: center;
}

.reasons__card-icon {
  width: 64px;
  height: 72px;
  margin: 0 auto 20px;
}

.reasons__card-icon svg {
  width: 100%;
  height: 100%;
}

.reasons__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 33px;
  color: var(--color-dark-navy);
  margin-bottom: 16px;
}

.reasons__card-desc {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  text-align: left;
}

/* ============================================================
   導入事例セクション
   ============================================================ */
.case-study {
  padding: 80px 0;
  background: #ffffff;
}

.case-study__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 0 40px;
}

.case-study__title {
  font-size: 43px;
  font-weight: 700;
  line-height: 52px;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.case-study__subtitle {
  font-size: 19px;
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
}

.case-study__track {
  display: flex;
  gap: 24px;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  scrollbar-width: none;
}

.case-study__track::-webkit-scrollbar {
  display: none;
}

/* スライダーラッパー（ナビボタン・グラデーション配置用） */
.case-study__slider {
  position: relative;
}

/* 左右グラデーションフェード（続きがあることを視覚的に伝える） */
.case-study__slider::before,
.case-study__slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 84px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s;
}

.case-study__slider::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0.7) 40%, transparent);
  opacity: 0;
}

.case-study__slider::after {
  right: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.7) 60%, #fff);
}

.case-study__slider.is-scrolled::before { opacity: 1; }
.case-study__slider.is-at-start::before { opacity: 0; }
.case-study__slider.is-at-end::after { opacity: 0; }

/* 丸型矢印ナビボタン */
.case-study__nav {
  position: absolute;
  top: calc(30% + 19px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  border: 3px solid #333;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.3s, box-shadow 0.2s, transform 0.2s;
}

.case-study__nav:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.08);
}

.case-study__nav--prev {
  left: 8px;
}

.case-study__nav--next {
  right: 8px;
}

.case-study__nav-chevron {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 3px solid #333;
  border-bottom: 3px solid #333;
}

/* 左ボタン: 左向きchevron */
.case-study__nav--prev .case-study__nav-chevron {
  transform: rotate(135deg);
  margin-left: 4px;
}

/* 右ボタン: 右向きchevron */
.case-study__nav--next .case-study__nav-chevron {
  transform: rotate(-45deg);
  margin-right: 4px;
}

.case-study__card {
  flex: 0 0 420px;
}

.case-study__card img {
  width: 100%;
  aspect-ratio: 744 / 448;
  object-fit: cover;
}

.case-study__card-body {
  padding: 12px 0 0;
  margin-bottom: 30px;
  text-align: left;
}

.case-study__card-name {
  font-size: 21px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 6px;
}

.case-study__card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
}

/* ドットインジケーター */
.case-study__indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.case-study__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.case-study__dot:hover {
  background: #f0a070;
  transform: scale(1.3);
}

.case-study__dot.is-active {
  background: #DC5F25;
  transform: scale(1.2);
}

/* ============================================================
   よくあるご質問セクション
   ============================================================ */
.faq {
  padding: 80px 0;
  background: #F3F6F6;
}

.faq__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.faq__title-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  margin-bottom: 40px;
}

.faq__title {
  font-size: 43px;
  font-weight: 700;
  line-height: 52px;
  color: #000000;
}

.faq__help-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #47839C;
  position: absolute;
  right: 0;
  top: 13px;
}

.faq__help-link:hover {
  text-decoration: underline;
}

.faq__help-icon {
  width: 16px;
  height: 16px;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0 8px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq__q-label {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

.faq__q-text {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  flex: 1;
}

/* 開閉トグルアイコン（＋/−） */
.faq__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  margin-left: auto;
  margin-top: 4px;
}

.faq__toggle::before,
.faq__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-brand-orange);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* 横線（常に表示） */
.faq__toggle::before {
  width: 20px;
  height: 3px;
  transform: translate(-50%, -50%);
}

/* 縦線（閉じ時のみ表示、開くと回転して消える） */
.faq__toggle::after {
  width: 3px;
  height: 20px;
  transform: translate(-50%, -50%);
}

.faq__question[aria-expanded="true"] .faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* アコーディオン: デフォルト閉じ */
.faq__answer {
  padding: 0 0 0;
  margin-left: 36px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.2s ease;
}

/* アコーディオン: 開いた状態 */
.faq__item.is-open .faq__answer {
  padding: 0 0 20px;
  max-height: 500px;
}

.faq__answer a {
  color: #47839C;
  text-decoration: underline;
}

.faq__answer p {
  font-size: 16px;
  line-height: 28px;
  color: #000000;
  padding-top: 1px;
}

/* ============================================================
   ブログ＆ニュースセクション
   ============================================================ */
.blog-news {
  padding: 40px 0;
  background: #ffffff;
}

.blog-news__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.blog-news__title {
  font-size: 43px;
  font-weight: 700;
  line-height: 52px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.blog-news__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.blog-news__card {
  background: var(--color-white);
  overflow: hidden;
}

.blog-news__card:hover {
  opacity: 0.8;
}

.blog-news__card-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-news__card-body {
  padding: 16px;
}

.blog-news__card-date {
  font-size: 13px;
  color: #999;
  display: block;
  margin-bottom: 4px;
}

.blog-news__card-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.blog-news__card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  background: #f0f0f0;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 4px;
  margin-bottom: 8px;
}

.blog-news__card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  color: var(--color-dark-navy);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-news__more {
  text-align: center;
}

.blog-news__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 50px;
  background: #000000;
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
  border-radius: 0;
  transition: opacity 0.2s;
}

.blog-news__more-btn:hover {
  opacity: 0.8;
}

/* ============================================================
   CVエリア
   ============================================================ */
.cta-area {
  padding: 100px 0;
  background: linear-gradient(to right, #000000, #3533cd);
  color: var(--color-white);
  text-align: center;
}

.cta-area__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cta-area__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.cta-area__subtitle {
  font-size: 23px;
  font-weight: 400;
  color: #D9D9D9;
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-area__buttons {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.cta-area__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 376px;
  height: 77px;
  font-size: 23px;
  font-weight: 700;
  border-radius: 9999px;
  transition: opacity 0.2s;
}

.cta-area__btn:hover {
  opacity: 0.85;
}

.cta-area__btn--primary {
  background: var(--color-brand-orange);
  color: var(--color-white);
}

.cta-area__btn--secondary {
  background: var(--color-white);
  color: var(--color-text);
}

/* ============================================================
   コーポレート共通フッター
   ============================================================ */
.footer {
  background: #1a1a1a;
  color: #bdbcbe;
  font-size: 13px;
  line-height: 1.8;
}

.footer a {
  color: #bdbcbe;
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 0.7;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px var(--container-padding) 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
}

.footer__logo img {
  width: 200px;
  height: auto;
  margin-bottom: 16px;
}

.footer__isms {
  margin-bottom: 16px;
}

.footer__isms img {
  width: 80px;
  height: auto;
}

.footer__address-text {
  margin-bottom: 12px;
}

.footer__contact {
  margin-bottom: 16px;
}

.footer__contact a {
  font-size: 13px;
}

.footer__sns {
  display: flex;
  gap: 16px;
}

.footer__sns svg {
  width: 24px;
  height: 24px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__nav-group ul {
  margin-bottom: 20px;
}

.footer__nav-group li {
  margin-bottom: 6px;
}

.footer__nav-group li:first-child {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer__pagetop {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
}

.footer__pagetop a {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 0;
}

.footer__legal a {
  font-size: 12px;
}

.footer__copyright {
  text-align: center;
  padding: 12px 0 24px;
  font-size: 12px;
}

/* ============================================================
   フェードインアニメーション
   ============================================================ */
.problem__card,
.ai-agent__feature,
.reasons__card,
.case-study__card,
.cta-area__inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.problem__card.is-visible,
.ai-agent__feature.is-visible,
.reasons__card.is-visible,
.case-study__card.is-visible,
.cta-area__inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* カードの登場を少しずつずらす */
.problem__card:nth-child(2),
.reasons__card:nth-child(2),
.blog-news__card:nth-child(2) {
  transition-delay: 0.1s;
}

.problem__card:nth-child(3),
.reasons__card:nth-child(3),
.blog-news__card:nth-child(3) {
  transition-delay: 0.2s;
}

/* ヘッダースクロール時の影強調 */
.header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* SP時: 下スクロールでヘッダーを上に隠す */
.header {
  transition: transform 0.3s ease;
}

.header.is-hidden {
  transform: translateY(-100%);
}

/* ============================================================
   SPモバイルメニュー（980px以下で有効）
   ============================================================ */
@media (max-width: 980px) {
  .header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 24px var(--container-padding);
    gap: 24px;
    overflow-y: auto;
    z-index: 999;
  }

  .header__nav.is-open .header__nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header__nav.is-open .header__nav-list a {
    font-size: 18px;
    display: block;
    padding: 12px 40px;
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav.is-open .header__nav-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header__nav.is-open .header__btn-download {
    display: block;
    text-align: center;
    padding: 12px 0;
    width: 50vw;
    border: 2px solid var(--color-teal);
    border-radius: 9999px;
    font-size: 16px;
  }

  .header__nav.is-open .header__btn-contact {
    padding: 0;
    width: 50vw;
    font-size: 16px;
  }

  /* ハンバーガーアニメーション */
  .header__hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .header__hamburger span {
    transition: transform 0.2s, opacity 0.2s;
  }
}

/* ============================================================
   レスポンシブ（SP最低限 - 崩れ防止）
   ============================================================ */
@media (max-width: 1199px) {
  .header__nav-list {
    gap: 12px;
  }

  .header__nav-list a {
    font-size: 13px;
  }
}

/* 980px以下でハンバーガーメニューに切り替え（ロゴへのめり込み防止） */
@media (max-width: 980px) {
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .mv {
    height: auto;
    min-height: auto;
    padding: 34px 0;
  }

  .mv__inner {
    padding-top: 42px;
  }

  .mv__cta {
    padding-bottom: 44px;
  }

  .mv__catch {
    font-size: 28px;
    line-height: 1.4;
  }

  .mv__subcatch {
    font-size: 18px;
  }

  .mv__desc {
    font-size: 16px;
    line-height: 28px;
  }

  .mv__cta {
    flex-direction: column;
  }

  .mv__btn {
    width: 100%;
    height: 60px;
    font-size: 18px;
  }

  .problem__cards,
  .reasons__cards,
  .blog-news__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem__card {
  }

  .problem__title,
  .reasons__title {
    font-size: 28px;
    line-height: 1.4;
  }

  .ai-agent__video-embed {
    margin-bottom: 40px;
  }

  .ai-agent__title {
    font-size: 25px;
    line-height: 1.4;
  }

  .ai-agent__feature {
    grid-template-columns: 1fr;
  }

  .ai-agent__feature--reverse {
    direction: ltr;
  }

  .case-study__card {
    flex: 0 0 76%;
  }

  .case-study__nav {
    display: none;
  }

  /* SPではグラデーションフェード非表示（タッチスワイプ+ドットで十分） */
  .case-study__slider::before,
  .case-study__slider::after {
    display: none;
  }

  .cta-area__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .cta-area__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-area__btn {
    width: 100%;
    max-width: 376px;
    height: 60px;
    font-size: 18px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__nav {
    grid-template-columns: 1fr;
  }

  /* FAQ: SP時もタイトル中央・ヘルプリンク右のまま、重なり防止でヘルプを上に配置 */
  .faq__title-row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
  }

  .faq__help-link {
    position: static;
    align-self: flex-end;
  }

  .faq__q-text {
    font-size: 18px;
    line-height: 1.5;
  }

  /* SP: 後半セクションのタイトルfont-size縮小（前半セクションと統一） */
  .case-study__title,
  .faq__title,
  .blog-news__title {
    font-size: 28px;
    line-height: 1.4;
  }

  .case-study__subtitle {
    font-size: 16px;
  }

  .cta-area__subtitle {
    font-size: 16px;
    line-height: 1.6;
  }

  .blog-news__more-btn {
    font-size: 18px;
  }

  /* SP時: PC用brを非表示、SP用brを表示 */
  br.pc-only { display: none; }
  br.sp-only { display: inline; }
}
