/* ============================================
   industry-page.css
   FlatWorks 業種別ランディングページ共通スタイル
   対象: v2/design/mock/industry/*.html
   新規クラス(ind-プレフィックス)のみ定義
   既存クラス上書き禁止
   ============================================ */

/* ============================================
   1. IND-HERO（業種ページ固有 60vh）
   service-page.css の sv-hero と同形・別名定義
   競合防止のため industry/ 専用ファイルに分離
   ============================================ */
.ind-hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ind-hero__bg {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  z-index: 0;
}
.ind-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.ind-hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
}
.ind-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  color: #fff;
}
.ind-hero__en {
  display: block;
  font-family: var(--en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.ind-hero__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 18px;
}
.ind-hero__lead {
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}
.ind-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .ind-hero { height: 55vh; min-height: 320px; }
  .ind-hero__inner { padding: 0 20px; }
  .ind-hero__actions { flex-direction: column; gap: 12px; }
}

/* ============================================
   2. IND-SERVICES（業種適合サービスカード）
   提供サービス: PC 2列 / SP 1列
   sv-features__grid と別設計（リンク付きカード形式）
   ============================================ */
.ind-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.ind-service-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
@media (any-hover: hover) {
  .ind-service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(13,148,136,0.08);
  }
}
.ind-service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.ind-service-card__text {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 16px;
}
.ind-service-card__arrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
@media (max-width: 767px) {
  .ind-services__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
  }
}

/* ============================================
   3. IND-HUB-GRID（industry/index.html 専用）
   6業種カード 3列（PC）/ 2列（Tablet・SP）
   card-industry クラス（style-additions.css）を格納するグリッドラッパー
   ============================================ */
.ind-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1023px) {
  .ind-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .ind-hub-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
}

/* ============================================
   4. SV-CASE-CARD --CENTER（相談誘導用修飾子）
   テキスト中央寄せ。画像なしの「まずはご相談」型カード用
   ============================================ */
.sv-case-card--center {
  text-align: center;
}
.sv-case-card--center .sv-case-card__title,
.sv-case-card--center .sv-case-card__text,
.sv-case-card--center .sv-case-card__num {
  text-align: center;
}

/* ============================================
   5. RELATED-CONTENT（業種ページ下部の関連コンテンツ）
   業種ページ↔blog/works/sample の自動紐付け描画用
   JSON: /v2/data/content-index.json
   JS:   /v2/assets/js/related-content.js
   ============================================ */
.related-content {
  background: #f7f7f5;
  padding: 80px 0;
}
.related-content__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.related-content__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.related-content__lead {
  color: #555;
  margin: 0 0 48px;
  font-size: 15px;
}
.related-block {
  margin-bottom: 48px;
}
.related-block:last-child {
  margin-bottom: 0;
}
.related-block__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 3px solid #1a1a1a;
  color: #1a1a1a;
}
.related-block__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.related-card__img {
  aspect-ratio: 3 / 2;
  background: #efece8;
  overflow: hidden;
}
.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-card__body {
  padding: 14px 16px 18px;
}
.related-card__type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #777;
  margin-bottom: 6px;
}
.related-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 6px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card__excerpt {
  font-size: 12px;
  color: #666;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .related-block__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .related-block__list { grid-template-columns: 1fr; }
  .related-content { padding: 56px 0; }
}
