/* ========================================
   CF伴走支援LP - 追加スタイル v3
   ======================================== */

/* ---- レイアウト：右サイドバー無効化 ---- */
.lp-cf .main { margin-right: 0 !important; }

/* ---- ヒーロー：高さ自動・中央寄せ ---- */
.lp-cf .hero {
  height: auto !important;
  min-height: auto !important;
  padding: 120px 24px 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 899px) {
  .lp-cf .hero { padding: 100px 24px 60px !important; }
}
.lp-cf .hero__wrap {
  position: relative !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  transform: none !important;
  padding: 0 !important;
}
.lp-cf .hero__content {
  position: static !important;
  transform: none !important;
  text-align: center !important;
  max-width: 680px !important;
  width: 100% !important;
  left: auto !important;
  top: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.lp-cf .hero__badge {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  margin: 0 auto 20px !important;
  display: inline-block !important;
}
.lp-cf .hero__title {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  text-align: center !important;
  margin: 0 auto 20px !important;
}
.lp-cf .hero__lead {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  text-align: center !important;
  margin: 0 auto !important;
}
.lp-cf .hero__cards { display: none !important; }
.lp-cf .hero__badge-free { display: none !important; }
.lp-cf .hero__illust { display: none !important; }

/* ---- フォーム：サイドバー→ページ下部 ---- */
.lp-cf .contact {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: auto !important;
  height: auto !important;
  box-shadow: none !important;
  padding: 60px 24px 80px !important;
  background: var(--lp-bg, #f5f5f5) !important;
}
.lp-cf .contact__inner {
  max-width: 560px;
  margin: 0 auto;
}

/* ---- 実績カード ---- */
.case-section { padding: 80px 0; }
.case-section__inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.case-card img { width: 100%; height: auto; display: block; }
.case-card__body { padding: 16px 20px; text-align: center; }
.case-card__region {
  display: inline-block; font-size: 11px;
  color: var(--lp-primary, #f82605);
  border: 1px solid var(--lp-primary, #f82605);
  padding: 2px 12px; border-radius: 20px; margin-bottom: 8px;
}
.case-card__desc { font-size: 14px; line-height: 1.7; }
.case-note { text-align: center; font-size: 13px; margin-top: 24px; }
@media (max-width: 768px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ---- お客様の声 ---- */
.voice-section { padding: 80px 0; }
.voice-section__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.voice-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 36px 32px;
  margin-top: 24px;
}
.voice-card:first-of-type { margin-top: 48px; }
.voice-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.voice-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; background: #f0eeea;
}
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice-name { font-size: 15px; font-weight: 700; }
.voice-project { font-size: 12px; color: #888; margin-top: 2px; }
.voice-card blockquote {
  font-size: 14px; line-height: 2.1;
  border: none; margin: 0; padding: 0; font-style: normal;
}

/* ---- 支援内容：画像非表示・ブロック表示 ---- */
.lp-cf .feature__item-image { display: none !important; }
.lp-cf .feature__item-content { max-width: 100% !important; flex: 1 !important; }
.lp-cf .feature__item { display: block !important; }

/* ---- ナンバーアイコン（テキスト版） ---- */
.cf-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--lp-primary, #f82605);
  flex-shrink: 0;
  line-height: 1;
}

/* ---- 3つのお願い ---- */
.promise-section { padding: 80px 0; }
.promise-section__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.promise-lead {
  text-align: center; font-size: 14px;
  color: #888; line-height: 2;
  margin-top: 16px;
  margin-bottom: 40px;
}
.promise-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.promise-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px; display: flex; gap: 20px; align-items: flex-start;
}
.promise-num {
  font-size: 40px; font-weight: 900;
  color: var(--lp-primary, #f82605); opacity: 0.3;
  line-height: 1; flex-shrink: 0;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.promise-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.promise-card p { font-size: 13px; color: #888; line-height: 2; }
.decline-box {
  background: rgba(0,0,0,0.03);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 28px; margin-top: 32px;
}
.decline-box strong { display: block; font-size: 14px; margin-bottom: 8px; }
.decline-box p { font-size: 13px; color: #888; line-height: 2; }

/* ---- 代表メッセージ ---- */
.profile-section { padding: 80px 0; }
.profile-section__inner { max-width: 640px; margin: 0 auto; padding: 0 24px; text-align: center; }
.profile-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.profile-role { font-size: 12px; color: #888; margin-bottom: 24px; }
.profile-body { text-align: left; }
.profile-body p { font-size: 14px; line-height: 2.1; color: #888; }
.profile-body p + p { margin-top: 16px; }

/* ---- 会社概要 ---- */
.company-section { padding: 80px 0; }
.company-section__inner { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.company-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.company-table tr { border-bottom: 1px solid #e5e5e5; }
.company-table th {
  text-align: left; font-weight: 500; font-size: 13px;
  padding: 16px 16px 16px 0; width: 120px; color: #888; vertical-align: top;
}
.company-table td { font-size: 14px; padding: 16px 0; }
.company-links {
  margin-top: 32px;
  display: flex; gap: 24px; justify-content: center;
  font-size: 13px;
}
.company-links a { color: #888; text-decoration: none; }
.company-links a:hover { text-decoration: underline; }

/* ---- ロゴグリッド ---- */
.logo-grid-section {
  padding: 60px 0;
  background: #fff;
}
.logo-grid-section__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo-grid-section__title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 32px;
  font-weight: 500;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 24px;
  align-items: center;
  justify-items: center;
}
.logo-grid figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 2;
}
.logo-grid img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.85;
}
@media (max-width: 899px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 12px 16px; }
}
@media (max-width: 480px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 12px; }
}