/**
 * 用途別ランディングページ 共通CSSファイル
 *
 * このファイルは、5つの用途別LP（manual-faq-automation, internal-affairs, it-helpdesk, government, library-line）で共通利用されるCSS定義です。
 * サービス紹介セクションのカードレイアウトとスタイルを定義しています。
 *
 * @package Botbird for Business
 * @since 2025-12-17
 */

/* ================================================
   共通テキストスタイル
   ================================================ */

/* セクションサブタイトル */
.subtitle {
    font-size: 1.7rem;
    color: #666;
    line-height: 1.8;
}

/* 説明文・本文 */
.description-text {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.7;
}

/* 注釈・補足テキスト */
.note-text {
    font-size: 1.4rem;
    color: #888;
}

/* 極小テキスト（トライアル注記など） */
.tiny-text {
    font-size: 0.9rem;
    color: #999;
}

/* ================================================
   サービス紹介セクション - 基本スタイル
   ================================================ */

.service-intro-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.service-intro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-intro-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-intro-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
}

.service-intro-description {
    font-size: 1.7rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ================================================
   サービスカード - 2カラムグリッドレイアウト
   ================================================ */

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

/* ================================================
   サービスカード - 画像エリア
   ================================================ */

.service-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ================================================
   サービスカード - コンテンツエリア
   ================================================ */

.service-card-content {
    padding: 35px;
}

.service-card-title {
    font-size: 1.9rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card-icon {
    font-size: 2rem;
}

.service-card-description {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ================================================
   サービスカード - 特徴リスト
   ================================================ */

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.6rem;
    color: #555;
}

.service-card-feature::before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ================================================
   サービスカード - フル幅カード（1カラム）
   ================================================ */

.service-card-full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.service-card-full .service-card-image {
    height: 100%;
    min-height: 400px;
}

/* ================================================
   レスポンシブ対応 - タブレット（768px-968px）
   ================================================ */

@media (max-width: 968px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card-full {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 250px;
    }

    .service-card-full .service-card-image {
        min-height: 300px;
    }

    .service-intro-title {
        font-size: 2.3rem;
    }
}

/* ================================================
   レスポンシブ対応 - モバイル（768px以下）
   ================================================ */

@media (max-width: 768px) {
    .service-intro-section {
        padding: 50px 20px;
    }

    .service-intro-title {
        font-size: 2rem;
    }

    .service-intro-description {
        font-size: 1.6rem;
    }

    .service-card-content {
        padding: 25px;
    }

    .service-card-title {
        font-size: 1.6rem;
    }
}

/* ================================================
   ランディングページ共通コンポーネント（7つのLPから抽出）
   ================================================ */

/* ================================================
   1. 問題提起セクション (Problem Section)
   ================================================ */

.lp-problem-section {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  margin-bottom: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.lp-problem-header {
  text-align: center;
  margin-bottom: 40px;
}

.lp-problem-header h3 {
  font-size: 1.8rem;
  color: #e53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.lp-problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.lp-problem-item {
  background: #fff5f5;
  border-left: 4px solid #e53935;
  padding: 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.lp-problem-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.15);
}

.lp-problem-item h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.lp-problem-item p {
  color: #666;
  line-height: 1.6;
  font-size: 1.6rem;
}

.lp-problem-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ================================================
   2. ソリューションフロー (Solution Flow)
   ================================================ */

.lp-solution-section {
  margin-bottom: 60px;
}

.lp-solution-header {
  text-align: center;
  margin-bottom: 50px;
}

.lp-solution-header h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.lp-solution-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  position: relative;
  gap: 20px;
}

.lp-solution-step {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.lp-solution-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.lp-solution-step::after {
  content: '→';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #667eea;
  font-weight: bold;
}

.lp-solution-step:last-child::after {
  display: none;
}

.lp-solution-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.lp-solution-step h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.lp-solution-step p {
  color: #666;
  line-height: 1.6;
  font-size: 1.6rem;
}

.lp-solution-highlight {
  display: inline-block;
  background: #e8f4f8;
  color: #667eea;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 10px;
}

/* ================================================
   3. 機能セクション (Features Section)
   ================================================ */

.lp-features-section {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  margin-bottom: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.lp-features-header {
  text-align: center;
  margin-bottom: 40px;
}

.lp-features-header h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.lp-feature-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.lp-feature-card:hover {
  transform: translateY(-5px);
  border-color: #667eea;
  background: white;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.lp-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.lp-feature-card h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.lp-feature-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.6rem;
}

/* ================================================
   4. ケーススタディ (Case Studies)
   ================================================ */

.lp-case-studies {
  margin-top: 80px;
}

.lp-case-header {
  text-align: center;
  margin-bottom: 50px;
}

.lp-case-header h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}

.lp-case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.lp-case-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #667eea;
}

.lp-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.lp-case-industry {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.lp-case-card h4 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.lp-case-results {
  margin-bottom: 20px;
}

.lp-case-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #555;
  font-size: 1.6rem;
}

.lp-case-result-item::before {
  content: "✓";
  color: #667eea;
  font-weight: bold;
  font-size: 1.2rem;
}

.lp-case-testimonial {
  background: #f8f9fa;
  padding: 20px;
  border-left: 3px solid #667eea;
  border-radius: 8px;
  margin-top: 20px;
}

.lp-case-testimonial p {
  color: #666;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

/* ================================================
   5. グリッドシステム (Grid Systems)
   ================================================ */

/* 2カラムグリッド */
.lp-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* 自動フィットグリッド（最小250px） */
.lp-grid-auto-250 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* 自動フィットグリッド（最小280px） */
.lp-grid-auto-280 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 自動フィットグリッド（最小350px） */
.lp-grid-auto-350 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* Stickyコンテナ（2カラムレイアウトの左側用） */
.lp-sticky-container {
  position: sticky;
  top: 20px;
}

/* ================================================
   6. 共通ユーティリティクラス (Common Utilities)
   ================================================ */

/* セクション基本スタイル */
.lp-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* コンテナ */
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* セクションタイトル */
.lp-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.lp-section-title h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
}

/* ハイライトボックス */
.lp-highlight-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 50px 40px;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  color: white;
}

.lp-highlight-box h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

/* 画像カード */
.lp-image-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin: 50px 0;
}

.lp-image-card h4 {
  text-align: center;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
}

.lp-image-card img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.lp-image-card p {
  text-align: center;
  color: #666;
  margin-top: 20px;
  font-size: 1.6rem;
}

/* ================================================
   7. レスポンシブ対応 (Responsive Design)
   ================================================ */

/* タブレット（968px以下） */
@media (max-width: 968px) {
  /* ソリューションフロー */
  .lp-solution-flow {
    flex-direction: column;
    gap: 30px;
  }

  .lp-solution-step::after {
    content: '↓';
    right: 50%;
    top: auto;
    bottom: -35px;
    transform: translateX(50%);
  }

  .lp-solution-step:last-child::after {
    display: none;
  }

  /* 2カラムグリッド */
  .lp-grid-2col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lp-sticky-container {
    position: static;
  }
}

/* モバイル（768px以下） */
@media (max-width: 768px) {
  /* セクション */
  .lp-section {
    padding: 50px 20px;
  }

  /* タイトル */
  .lp-section-title h2 {
    font-size: 2rem;
  }

  /* 問題提起セクション */
  .lp-problem-section,
  .lp-features-section {
    padding: 30px 20px;
  }

  /* ケーススタディ */
  .lp-case-cards {
    grid-template-columns: 1fr;
  }

  /* ハイライトボックス */
  .lp-highlight-box {
    padding: 30px 20px;
  }

  /* 画像カード */
  .lp-image-card {
    padding: 25px 20px;
  }

  .lp-image-card h4 {
    font-size: 1.2rem;
  }
}
