/* CloudSeiQ 製品紹介ページ スタイル */

/* ========================================
   リセット・ベース
======================================== */
.csq-page * {
  box-sizing: border-box;
}

.csq-page {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  color: #1e293b;
  line-height: 1.7;
}

.csq-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   ヒーローセクション
======================================== */
.csq-hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #1d5abf 60%, #2d87d0 100%);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.csq-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.csq-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.csq-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
  line-height: 1.1;
}

.csq-hero-sub {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 28px;
  font-weight: 400;
}

.csq-hero-desc {
  font-size: 16px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 36px;
}

.csq-btn-demo {
  display: inline-block;
  background: #fff;
  color: #1a3a6b;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.csq-btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  color: #1a3a6b;
  text-decoration: none;
}

.csq-btn-demo i {
  margin-right: 8px;
}

/* ========================================
   補助金対応バナー
======================================== */
.csq-subsidy-banner {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
  color: #fff;
  padding: 0;
}

.csq-subsidy-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 20px;
  flex-wrap: wrap;
  text-align: center;
}

.csq-subsidy-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.csq-subsidy-text {
  flex: 1;
  min-width: 260px;
}

.csq-subsidy-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.csq-subsidy-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.csq-subsidy-detail {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.csq-subsidy-tag {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ========================================
   セクション共通
======================================== */
.csq-section {
  padding: 64px 20px;
}

.csq-section--gray {
  background: #f8fafc;
}

.csq-section--dark {
  background: #1e293b;
  color: #fff;
}

.csq-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.csq-section-label {
  display: inline-block;
  background: #e0eaff;
  color: #1a56db;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.csq-section--dark .csq-section-label {
  background: rgba(255,255,255,0.15);
  color: #93c5fd;
}

.csq-section-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.3;
}

.csq-section-desc {
  font-size: 16px;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
}

.csq-section--dark .csq-section-desc {
  color: #94a3b8;
}

/* ========================================
   課題提起
======================================== */
.csq-problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.csq-problem-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}

.csq-problem-icon {
  font-size: 32px;
  margin-bottom: 14px;
  color: #dc2626;
}

.csq-problem-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1e293b;
}

.csq-problem-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.65;
}

.csq-solution-arrow {
  text-align: center;
  margin: 32px 0;
  font-size: 36px;
  color: #1a56db;
}

.csq-solution-box {
  background: linear-gradient(135deg, #1a3a6b, #1d5abf);
  color: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  text-align: center;
}

.csq-solution-box h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}

.csq-solution-box p {
  font-size: 15px;
  opacity: 0.88;
  margin: 0;
}

/* ========================================
   機能一覧
======================================== */
.csq-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.csq-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.csq-feature-card:hover {
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.12);
  transform: translateY(-3px);
}

.csq-feature-icon {
  width: 52px;
  height: 52px;
  background: #e0eaff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1a56db;
  margin-bottom: 16px;
}

.csq-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1e293b;
}

.csq-feature-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
}

.csq-feature-card ul li {
  margin-bottom: 4px;
}

/* ========================================
   インボイス・電帳法 詳細
======================================== */
.csq-compliance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.csq-compliance-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.csq-compliance-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0eaff;
}

.csq-compliance-head-icon {
  width: 48px;
  height: 48px;
  background: #1a56db;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.csq-compliance-head h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 3px;
}

.csq-compliance-head span {
  font-size: 12px;
  color: #64748b;
}

.csq-compliance-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.csq-compliance-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.csq-compliance-items li:last-child {
  border-bottom: none;
}

.csq-compliance-items li i {
  color: #16a34a;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.csq-compliance-note {
  margin-top: 14px;
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  padding: 10px 14px;
  font-size: 12px;
  color: #15803d;
  border-radius: 0 6px 6px 0;
}

/* ========================================
   業務フロー
======================================== */
.csq-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.csq-flow-step {
  background: #fff;
  border: 2px solid #1a56db;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  position: relative;
}

.csq-flow-num {
  width: 28px;
  height: 28px;
  background: #1a56db;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.csq-flow-step-icon {
  font-size: 28px;
  color: #1a56db;
  margin-bottom: 10px;
}

.csq-flow-step h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1e293b;
}

.csq-flow-step p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.csq-flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #1a56db;
  font-size: 22px;
}

/* ========================================
   料金プラン
======================================== */
.csq-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.csq-plan-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.csq-plan-card.featured {
  background: #fff;
  color: #1e293b;
  border-color: #fff;
  transform: scale(1.04);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.csq-plan-badge {
  display: inline-block;
  background: #1a56db;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.csq-plan-card.featured .csq-plan-badge {
  background: #f59e0b;
}

.csq-plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.csq-plan-price {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.csq-plan-price-unit {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
}

.csq-plan-tax {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 20px;
}

.csq-plan-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 20px 0;
}

.csq-plan-card.featured .csq-plan-divider {
  border-top-color: #e2e8f0;
}

.csq-plan-feature {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.csq-plan-card.featured .csq-plan-feature {
  opacity: 1;
  color: #475569;
}

.csq-initial-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #94a3b8;
}

/* ========================================
   セキュリティ
======================================== */
.csq-security {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.csq-security-item {
  text-align: center;
  padding: 24px 16px;
}

.csq-security-item i {
  font-size: 32px;
  color: #1a56db;
  margin-bottom: 12px;
  display: block;
}

.csq-security-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1e293b;
}

.csq-security-item p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* ========================================
   サポート・スペック
======================================== */
.csq-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.csq-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.csq-info-table th,
.csq-info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.csq-info-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: #475569;
  width: 35%;
  white-space: nowrap;
}

.csq-info-table td {
  color: #1e293b;
}

.csq-info-table tr:last-child th,
.csq-info-table tr:last-child td {
  border-bottom: none;
}

/* ========================================
   お問い合わせCTA
======================================== */
.csq-cta {
  background: linear-gradient(135deg, #1a3a6b 0%, #1d5abf 100%);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}

.csq-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
}

.csq-cta p {
  font-size: 16px;
  opacity: 0.85;
  margin: 0 0 32px;
}

.csq-btn-contact {
  display: inline-block;
  background: #fff;
  color: #1a3a6b;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 44px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.csq-btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  color: #1a3a6b;
  text-decoration: none;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 900px) {
  .csq-hero h1 {
    font-size: 36px;
  }

  .csq-problems,
  .csq-features {
    grid-template-columns: 1fr 1fr;
  }

  .csq-compliance {
    grid-template-columns: 1fr;
  }

  .csq-plans {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .csq-plan-card.featured {
    transform: none;
  }

  .csq-security {
    grid-template-columns: 1fr 1fr;
  }

  .csq-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .csq-hero {
    padding: 56px 20px 48px;
  }

  .csq-hero h1 {
    font-size: 28px;
  }

  .csq-hero-sub {
    font-size: 16px;
  }

  .csq-problems,
  .csq-features {
    grid-template-columns: 1fr;
  }

  .csq-section-title {
    font-size: 22px;
  }

  .csq-flow {
    flex-direction: column;
    align-items: center;
  }

  .csq-flow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .csq-flow-step {
    max-width: 100%;
    width: 100%;
  }

  .csq-security {
    grid-template-columns: 1fr 1fr;
  }
}
