/* ==========================================================================
   industry-2026.css — 業種ハブページ専用スタイル
   /industry/{slug}.html で使用
   - illustration / 写真リッチな bento-style レイアウト
   - 4–6 商品カード + 業種ヒント + 声 + 最終CTA
   ========================================================================== */

/* ==========================================================================
   1. 業種ヒーロー (左イラスト + 右コピー)
   ========================================================================== */
.ind-hero {
  position: relative;
  background: var(--c-bg-alt);
  padding: var(--space-10) 0 var(--space-9);
  overflow: hidden;
}
.ind-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, var(--c-primary-veil) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, var(--c-primary-soft) 0%, transparent 50%);
  z-index: 0;
}
.ind-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
.ind-hero__illust {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.20),
    0 18px 40px -18px rgba(0,0,0,0.10);
}
.ind-hero__illust svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ind-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ind-hero__copy { position: relative; }
.ind-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fz-xs);
  letter-spacing: var(--lt-x-wide);
  color: var(--c-primary-ink);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--c-primary-soft);
  border-radius: 999px;
}
.ind-hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
}
.ind-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  margin: 0 0 var(--space-5);
  font-weight: var(--fw-medium);
  letter-spacing: var(--lt-tight);
  color: var(--c-text);
}
.ind-hero__title em {
  font-style: normal;
  color: var(--c-primary-ink);
  position: relative;
}
.ind-hero__title em::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 8px;
  background: var(--c-primary-soft);
  z-index: -1;
}
.ind-hero__lead {
  font-size: var(--fz-md);
  line-height: var(--lh-base);
  color: var(--c-text-muted);
  margin: 0 0 var(--space-6);
  max-width: 42ch;
}
.ind-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
}
.ind-hero__chips li {
  font-size: var(--fz-xs);
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.ind-hero__ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ==========================================================================
   2. 推奨商品グリッド (この業種に効く印刷物)
   ========================================================================== */
.ind-products {
  padding: var(--space-10) 0 var(--space-9);
  background: var(--c-surface);
}
.ind-products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: var(--space-4);
  margin-top: var(--space-7);
}
/* bento レイアウト: 1枚目を大きく、残りを小さく */
.ind-product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-bg-alt);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  grid-column: span 2;
  grid-row: span 1;
  transition: transform 360ms cubic-bezier(.16,.84,.3,1),
              box-shadow 360ms cubic-bezier(.16,.84,.3,1);
}
.ind-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(20,16,12,0.18);
  text-decoration: none;
  color: var(--c-text);
}
/* 1枚目を大きく (3列分・2行分) */
.ind-product--feature {
  grid-column: span 3;
  grid-row: span 2;
}
.ind-product__visual {
  position: relative;
  flex: 1;
  min-height: 180px;
  background: var(--c-primary-veil);
  overflow: hidden;
}
.ind-product--feature .ind-product__visual { min-height: 280px; }
.ind-product__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ind-product__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ind-product__illust {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}
.ind-product__illust svg {
  width: 60%;
  height: 60%;
  max-width: 200px;
  max-height: 200px;
}
.ind-product--feature .ind-product__illust svg {
  width: 50%;
  height: 50%;
  max-width: 280px;
  max-height: 280px;
}
.ind-product__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fz-xs);
  letter-spacing: var(--lt-wide);
  color: #fff;
  background: var(--c-primary);
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.ind-product__body {
  padding: var(--space-5);
  background: #fff;
  border-top: 1px solid var(--c-line);
}
.ind-product__cat {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fz-xs);
  letter-spacing: var(--lt-wide);
  color: var(--c-primary-ink);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  margin-bottom: 4px;
}
.ind-product__name {
  font-family: var(--font-display);
  font-size: var(--fz-lg);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-3);
  color: var(--c-text);
  line-height: 1.4;
}
.ind-product--feature .ind-product__name { font-size: var(--fz-xl); }
.ind-product__desc {
  font-size: var(--fz-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  margin: 0 0 var(--space-4);
}
.ind-product__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--c-line);
}
.ind-product__from {
  font-family: var(--font-display);
  font-size: var(--fz-sm);
  color: var(--c-text);
  font-weight: var(--fw-semibold);
}
.ind-product__from strong {
  color: var(--c-primary-ink);
  font-size: var(--fz-md);
}
.ind-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--fz-xs);
  letter-spacing: var(--lt-wide);
  color: var(--c-primary-ink);
  font-weight: var(--fw-semibold);
}
.ind-product__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 300ms cubic-bezier(.16,.84,.3,1);
}
.ind-product:hover .ind-product__cta svg {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .ind-products__grid { grid-template-columns: repeat(2, 1fr); }
  .ind-product { grid-column: span 1; }
  .ind-product--feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 599px) {
  .ind-products__grid { grid-template-columns: 1fr; }
  .ind-product, .ind-product--feature { grid-column: span 1; grid-row: span 1; }
}

/* ==========================================================================
   3. 業種ヒント (販促のコツ — illustration + text)
   ========================================================================== */
.ind-tips {
  padding: var(--space-10) 0;
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}
.ind-tips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}
.ind-tip {
  background: #fff;
  padding: var(--space-6) var(--space-5);
  border-radius: 8px;
  position: relative;
  text-align: center;
}
.ind-tip__num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: var(--fz-xs);
  letter-spacing: var(--lt-x-wide);
  color: #fff;
  background: var(--c-primary);
  padding: 6px 14px;
  border-radius: 999px;
}
.ind-tip__illust {
  width: 96px;
  height: 96px;
  margin: var(--space-3) auto var(--space-4);
  display: grid;
  place-items: center;
  background: var(--c-primary-veil);
  border-radius: 50%;
}
.ind-tip__illust svg {
  width: 56%;
  height: 56%;
  color: var(--c-primary-ink);
}
.ind-tip__title {
  font-family: var(--font-display);
  font-size: var(--fz-lg);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-3);
  color: var(--c-text);
  line-height: 1.4;
}
.ind-tip__desc {
  font-size: var(--fz-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}
@media (max-width: 991px) {
  .ind-tips__grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ==========================================================================
   4. お客様の声 (この業種から / 既存 voice-card と差別化)
   ========================================================================== */
.ind-voice {
  padding: var(--space-10) 0;
  background: var(--c-surface);
}
.ind-voice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-7);
}
.ind-voice-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-5);
  background: var(--c-bg-alt);
  padding: var(--space-6);
  border-radius: 8px;
  align-items: start;
}
.ind-voice-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-primary-veil);
}
.ind-voice-card__avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ind-voice-card__quote {
  font-family: var(--font-serif);
  font-size: var(--fz-base);
  line-height: 1.85;
  color: var(--c-text);
  margin: 0 0 var(--space-4);
  position: relative;
  padding-left: var(--space-4);
}
.ind-voice-card__quote::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -16px;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--c-primary-soft);
  line-height: 1;
}
.ind-voice-card__meta {
  font-size: var(--fz-xs);
  color: var(--c-text-muted);
}
.ind-voice-card__meta strong {
  display: block;
  color: var(--c-text);
  font-size: var(--fz-sm);
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
}
@media (max-width: 991px) {
  .ind-voice__grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .ind-voice-card { grid-template-columns: 64px 1fr; padding: var(--space-5); }
  .ind-voice-card__avatar { width: 64px; height: 64px; }
}

/* ==========================================================================
   5. 最終 CTA バンド
   ========================================================================== */
.ind-final {
  padding: var(--space-10) 0;
  background: linear-gradient(135deg, var(--c-text) 0%, #3a2e26 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ind-final::before,
.ind-final::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  opacity: 0.15;
  background: var(--c-primary);
}
.ind-final::before { top: -120px; left: -80px; }
.ind-final::after { bottom: -120px; right: -80px; }
.ind-final__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.ind-final__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fz-xs);
  letter-spacing: var(--lt-x-wide);
  color: var(--c-primary);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  display: block;
  margin-bottom: var(--space-4);
}
.ind-final__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  margin: 0 0 var(--space-5);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}
.ind-final__desc {
  font-size: var(--fz-md);
  color: rgba(255,255,255,0.78);
  line-height: var(--lh-base);
  margin: 0 0 var(--space-7);
}
.ind-final__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Reveal animation overrides for hub page elements
   ========================================================================== */
.ind-products__grid.reveal-stagger > *,
.ind-tips__grid.reveal-stagger > *,
.ind-voice__grid.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  filter: blur(2px);
  transition:
    opacity 700ms cubic-bezier(.16,.84,.3,1),
    transform 800ms cubic-bezier(.16,.84,.3,1),
    filter 600ms cubic-bezier(.16,.84,.3,1);
}
.ind-products__grid.reveal-stagger.is-visible > *,
.ind-tips__grid.reveal-stagger.is-visible > *,
.ind-voice__grid.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}
/* products grid は 6個の stagger */
.ind-products__grid.reveal-stagger.is-visible > *:nth-child(1) { transition-delay:   0ms; }
.ind-products__grid.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 120ms; }
.ind-products__grid.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 240ms; }
.ind-products__grid.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 360ms; }
.ind-products__grid.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 480ms; }
.ind-products__grid.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 600ms; }

/* hero illust を簡易 reveal */
.ind-hero__illust.reveal-zoom {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 800ms cubic-bezier(.16,.84,.3,1),
              transform 800ms cubic-bezier(.16,.84,.3,1);
}
.ind-hero__illust.reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

/* hero copy 順次フェードアップ (load 即時) */
.ind-hero__copy > .ind-hero__eyebrow,
.ind-hero__copy > .ind-hero__title,
.ind-hero__copy > .ind-hero__lead,
.ind-hero__copy > .ind-hero__chips,
.ind-hero__copy > .ind-hero__ctas {
  opacity: 0;
  animation: ind-hero-rise 800ms cubic-bezier(.16,.84,.3,1) forwards;
}
.ind-hero__copy > .ind-hero__eyebrow { animation-delay:  80ms; }
.ind-hero__copy > .ind-hero__title   { animation-delay: 220ms; }
.ind-hero__copy > .ind-hero__lead    { animation-delay: 380ms; }
.ind-hero__copy > .ind-hero__chips   { animation-delay: 520ms; }
.ind-hero__copy > .ind-hero__ctas    { animation-delay: 640ms; }
@keyframes ind-hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* タイトル em の下敷きが draw-in */
.ind-hero__title em::after {
  transform-origin: left center;
  animation: ind-em-draw 700ms cubic-bezier(.7,0,.3,1) 850ms backwards;
}
@keyframes ind-em-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* product visual の subtle hover scale (写真があれば) */
.ind-product .ind-product__photo,
.ind-product .ind-product__illust svg {
  transition: transform 700ms cubic-bezier(.16,.84,.3,1);
}
.ind-product:hover .ind-product__photo {
  transform: scale(1.06);
}
.ind-product:hover .ind-product__illust svg {
  transform: scale(1.08) rotate(-3deg);
}

/* tip illust の floating (継続) */
@keyframes ind-tip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.ind-tip .ind-tip__illust { animation: ind-tip-float 6s ease-in-out infinite; }
.ind-tip:nth-child(2) .ind-tip__illust { animation-delay: -2s; }
.ind-tip:nth-child(3) .ind-tip__illust { animation-delay: -4s; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ind-hero__copy > *,
  .ind-hero__title em::after,
  .ind-hero__illust.reveal-zoom,
  .ind-products__grid.reveal-stagger > *,
  .ind-tips__grid.reveal-stagger > *,
  .ind-voice__grid.reveal-stagger > *,
  .ind-tip .ind-tip__illust {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   8. パンくず BEM スタイル (.breadcrumb__list / __item) — 2026-04-30 追加
   chrome-2026.css は .breadcrumb (旧構造) のみ対応のため、
   業種ハブで使用する Schema.org 対応 BEM 構造をここで補う。
   ========================================================================== */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  list-style: none !important;
  padding: var(--space-3) 0;
  margin: 0;
  font-size: var(--fz-sm);
  color: var(--c-text-muted);
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: var(--c-text-muted);
  margin-right: var(--space-1);
  opacity: 0.6;
}
.breadcrumb__item a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--dur-base);
}
.breadcrumb__item a:hover {
  color: var(--c-primary-ink);
  text-decoration: underline;
}
.breadcrumb__item.is-current {
  color: var(--c-text);
  font-weight: var(--fw-medium);
}

/* ==========================================================================
   9. ハブページ 左サイドメニュー (業種一覧 + 主要商品 + サポート)
   ========================================================================== */
.ind-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-6);
  padding: var(--space-6) 0 var(--space-10);
}
.ind-layout__main { min-width: 0; }
.ind-side {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: var(--space-2);
}
.ind-side__group {
  margin-bottom: var(--space-6);
}
.ind-side__title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: var(--lt-x-wide);
  color: var(--c-primary-ink);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--c-line);
}
.ind-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ind-side__list li {
  margin: 0;
}
.ind-side__list a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 10px;
  color: var(--c-text);
  text-decoration: none;
  font-size: var(--fz-sm);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-base), color var(--dur-base);
  line-height: 1.4;
}
.ind-side__list a:hover {
  background: var(--c-primary-soft);
  color: var(--c-primary-ink);
}
.ind-side__list a.is-current {
  background: var(--c-primary-veil);
  color: var(--c-primary-ink);
  font-weight: var(--fw-semibold);
}
.ind-side__list a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: 0.6;
  flex-shrink: 0;
}
.ind-side__list a.is-current::before {
  opacity: 1;
  background: var(--c-primary-ink);
}
.ind-side__list a .ind-side__sub {
  display: block;
  font-size: 10px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* モバイル: サイドを上部に積む or アコーディオン化 */
@media (max-width: 991px) {
  .ind-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .ind-side {
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    border-bottom: 1px solid var(--c-line);
    padding-bottom: var(--space-4);
  }
  .ind-side__group { margin-bottom: var(--space-4); }
}
@media (max-width: 767px) {
  .ind-side__group:not(:first-child) { display: none; }
  /* モバイルでは「他の業種」のみ表示し、商品 / サポートはフッターから辿る */
}
