/* ====================================================================
   TripClear — 業種別ソリューションページ 共通レイヤ（.ind- prefix）

   読み込み順: sns.css → pov.css → service-page.css → industry.css
   （親サービスページと同じ順で読み、最後にこのファイルを足す）

   このファイルが担当するのは「業種ページにしかない面」だけ。
   ヒーロー（.sns-ei--service）／数値バンド（.svcp-stats--light）／
   Process（.sns-details--light + .sns-flow）／回遊（.svcp-others）／
   CTA（.sns-cta）は既存クラスをそのまま使い、ここでは触らない。

   守っていること（.claude/skills/design-fb/SKILL.md）:
     - 生の hex を新規に増やさない。色は --home-* / --tc-* トークンだけ
     - グラデーションは --tc-grad のみ、角丸は --radius-sm / md / lg のみ
     - 枠は1階層まで。カードの入れ子・ピル型タグの列挙・同型カードの反復をしない
     - ダーク面を3連続させない（面の並びは下記）
     - スマホ（〜768px）は PC の縮小ではなく縦積み専用レイアウト

   面の並び（全業種ページ共通。複製時もこの順を変えない）:
     Hero(紺) → Numbers(#f5f5f6) → Pain(紺) → Solution(#f5f5f6)
     → Results(紺) → Process(#f5f5f6) → FAQ(紺) → Related(サンセット) → CTA(紺)
   ==================================================================== */

/* ページ全体。行頭禁則と見出しの折り返しバランスをまとめて当てる */
.ind-page { line-break: strict; }
.ind-page h2,
.ind-page h3,
.ind-page .sns-section-sub,
.ind-pain-title,
.ind-issue-title,
.ind-do-title,
.ind-case-name,
.ind-faq-q { text-wrap: balance; }

/* h1 の意図的な改行。業種名が長いときだけ使う（半端な位置で折れるのは事故） */
.ind-h1-br { display: inline; }

/* 出典の小さな添え書き。数値・事例のすぐ下に置く（年と調査主体を必ず書く） */
.ind-src {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--home-ink-3);
}
.svcp-stats--light .ind-src,
.sns-details--light .ind-src { color: var(--tc-light-ink-3); }

/* セクション末尾の締めの一文（左にグラデの細バー。枠は作らない） */
.ind-band {
  position: relative;
  margin-top: 56px;
  padding: 6px 0 6px 26px;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: 0.005em;
  font-feature-settings: 'palt' 1;
  color: var(--home-ink);
  max-width: 32em;
}
.svcp-stats--light .ind-band { color: var(--tc-light-ink); }
.ind-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--tc-grad);
}

/* ==========================================================================
   S2 NUMBERS — 数字の意味に合わせて図を添える（design-fb②: 数字は最重要コンテンツ）
     .ind-stat--ring  … 「全体のうち何%か」の割合。リングメーターの中に数字を置く
     .ind-stat--trend … 「直近でどう変わったか」。折れ線＋前後の実測値を添える
     図を持たない数字（実数・金額）はそのまま。3つの高さは --ind-fig で揃える
   ========================================================================== */
.svcp-stats-grid { --ind-fig: clamp(122px, 12.5vw, 152px); align-items: start; }

/* 4枚以上のとき（関連する統計が3つに収まらないページ）。PCは3カラムのまま行を折り返し、
   行頭の左罫線を消して、2行目以降は上罫線で区切る。SP は既存の2カラム指定がそのまま効く */
@media (min-width: 761px) {
  .ind-stats--multi .svcp-stat { padding-top: 24px; padding-bottom: 28px; }
  .ind-stats--multi .svcp-stat:nth-child(3n+1) { padding-left: 0; border-left: none; }
  .ind-stats--multi .svcp-stat:nth-child(n+4) { border-top: 1px solid var(--home-line); }
  .svcp-stats--light .ind-stats--multi .svcp-stat:nth-child(n+4) { border-top-color: var(--tc-light-line); }
}
.ind-stat--ring,
.ind-stat--trend,
.ind-stat--plain { display: flex; flex-direction: column; }
.ind-stat--ring > .svcp-stat-label,
.ind-stat--trend > .svcp-stat-label { margin-top: 18px; }
/* 図を持たない数字も同じ高さの枠に収め、下端（＝説明文の頭）を3つで揃える */
.ind-stat--plain .ind-figslot {
  min-height: var(--ind-fig);
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
}

/* 数字の「言いたいこと」を太字1行で置く。説明（.svcp-stat-label）は定義と補足に徹する。
   図 → 太字の結論 → 薄い説明 → 出典 の順で、数字だけ見ても意味が取れるようにする */
.ind-stat-claim {
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.005em;
  font-feature-settings: 'palt' 1;
  color: var(--tc-light-ink);
  text-wrap: balance;
}
.ind-stat-claim + .svcp-stat-label { margin-top: 8px; }

/* ---------- リングメーター ---------- */
.ind-ring {
  position: relative;
  width: var(--ind-fig);
  height: var(--ind-fig);
  flex: none;
}
.ind-ring-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ind-ring-track {
  fill: none;
  stroke: rgba(20, 23, 46, 0.10);
  stroke-width: 8;
}
/* 既定は「描き切った状態」。JS 有効時だけ 0 から立ち上げる（service-page.css の reveal と同じ作法） */
.ind-ring-arc {
  fill: none;
  stroke: url(#tcGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: var(--ring-v) 100;
}
.js .svcp-stat[data-reveal]:not(.is-settled) .ind-ring-arc {
  transition: stroke-dasharray 1.6s cubic-bezier(0.22, 0.8, 0.25, 1);
}
.js .svcp-stat[data-reveal]:not(.is-revealed) .ind-ring-arc { stroke-dasharray: 0 100; }
.ind-ring .svcp-stat-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(27px, 2.9vw, 36px);
  letter-spacing: -0.03em;
}
.ind-ring .svcp-stat-number em { font-size: 0.42em; margin-left: 2px; }

/* ---------- 折れ線（直近の変化） ---------- */
.ind-stat--trend .svcp-stat-number { font-size: clamp(34px, 3.4vw, 44px); }
.ind-trend { margin-top: 12px; }
.ind-trend-plot {
  position: relative;
  height: 52px;
  max-width: 220px;
}
.ind-trend-plot svg {
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 0);
}
.js .svcp-stat[data-reveal]:not(.is-settled) .ind-trend-plot svg {
  transition: clip-path 1.1s cubic-bezier(0.32, 0.72, 0.3, 1);
}
.js .svcp-stat[data-reveal]:not(.is-revealed) .ind-trend-plot svg { clip-path: inset(0 100% 0 0); }
.ind-trend-line {
  fill: none;
  stroke: url(#tcGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ind-trend-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--tc-light-bg);
  box-shadow: 0 0 0 2px var(--tc-purple-deep);
}
.ind-trend-dot--last { box-shadow: 0 0 0 2px #7b6bff; background: #7b6bff; }
.js .svcp-stat[data-reveal]:not(.is-settled) .ind-trend-dot {
  transition: opacity 0.4s ease 0.85s, transform 0.4s cubic-bezier(0.2, 1.3, 0.5, 1) 0.85s;
}
.js .svcp-stat[data-reveal]:not(.is-revealed) .ind-trend-dot { opacity: 0; transform: scale(0.4); }
.ind-trend-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  max-width: 220px;
  margin-top: 6px;
}
.ind-trend-pt {
  display: flex;
  flex-direction: column;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--tc-light-ink-3);
}
.ind-trend-pt b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--tc-light-ink-2);
}
.ind-trend-pt--last b { color: var(--tc-purple-deep); }
.ind-trend-pt:last-child { text-align: right; align-items: flex-end; }
.ind-trend-pt:only-child { text-align: left; align-items: flex-start; }

/* スマホの数値バンドは2カラム。奇数個の最後だけ全幅になるので、
   その1つは高さ合わせの枠を外す（横に並ぶ相手がいないのに空きができるため） */
@media (max-width: 760px) {
  .ind-stat--plain:last-child:nth-child(odd) .ind-figslot { min-height: 0; }
  .ind-stat-claim { margin-top: 14px; font-size: 14.5px; }
  .ind-stat-claim + .svcp-stat-label { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .ind-ring-arc,
  .ind-trend-plot svg,
  .ind-trend-dot { transition: none; }
}

/* ==========================================================================
   S3 PAIN — 紺面。業種×サービスで起きている詰まりを「番号＋見出し＋文章」で3つ。
   カードで囲わず、上罫線だけで区切る（枠を増やさないため）
   ========================================================================== */
.ind-pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 52px;
}
.ind-pain { padding-top: 22px; border-top: 1px solid var(--home-line); }
.ind-pain-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: transparent;
  background: var(--tc-grad);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 12px;
}
.ind-pain-title {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--home-ink);
  margin-bottom: 12px;
}
.ind-pain-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--home-ink-2);
}
.ind-pain-desc + .ind-pain-desc { margin-top: 10px; }

/* 現場の声。枠で囲わず、左の罫線＋大きめの字だけで引用体にする */
.ind-voices {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.ind-voice {
  margin: 0;
  padding: 4px 0 4px 22px;
  border-left: 1px solid var(--home-line-strong);
}
.ind-voice p {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.85;
  color: var(--home-ink);
  font-feature-settings: 'palt' 1;
}
.ind-voice figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--home-ink-3);
}

/* ==========================================================================
   S4 SOLUTION — ライト面。「この業種で当社が行うこと」を番号つきの段で並べ、
   最後に媒体構成の表を1つ置く（表は機械可読で、AI 検索にも効く）
   ========================================================================== */
.ind-does { margin-top: 44px; }
.ind-do {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--tc-light-line);
}
.ind-do-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: transparent;
  background: var(--tc-grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.ind-do-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--tc-light-ink);
  margin-bottom: 10px;
}
.ind-do-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--tc-light-ink-2);
  max-width: 46em;
}
.ind-do-desc + .ind-do-desc { margin-top: 10px; }

/* 媒体構成。ブロックごと1枚のトグルに畳む。中は入れ子にせず、開けば全項目が読める */
.ind-media {
  margin-top: 56px;
  max-width: 940px;
  border-top: 1px solid rgba(20, 23, 46, 0.22);
  border-bottom: 1px solid rgba(20, 23, 46, 0.22);
}
.ind-media-toggle {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
}
.ind-media-toggle::-webkit-details-marker { display: none; }
.ind-media-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border-right: 2px solid var(--tc-light-ink-3);
  border-bottom: 2px solid var(--tc-light-ink-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ind-media[open] .ind-media-toggle::after { transform: rotate(-135deg) translateY(-2px); }
.ind-media-toggle:hover::after { border-color: var(--tc-purple-deep); }
.ind-media-head {
  display: inline;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tc-light-ink);
}
.ind-media-list {
  margin-top: 2px;
  border-top: 1px solid var(--tc-light-line);
}
.ind-media-item { border-bottom: 1px solid var(--tc-light-line); }
.ind-media-item:last-child { border-bottom: none; }
.ind-media-sum {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 0 20px;
  align-items: baseline;
  padding: 16px 0 6px;
}
.ind-media-name {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--tc-light-ink);
}
.ind-media-name small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tc-light-ink-3);
}
.ind-media-role {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--tc-light-ink-2);
}
.ind-media-body { padding: 0 0 16px; }
.ind-media-kpi {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 0 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--tc-light-ink-2);
}
.ind-media-kpi-label {
  font-family: var(--font-body-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tc-light-ink-3);
  padding-top: 3px;
}

/* ==========================================================================
   S5 RESULTS — 紺面に白カード。実績（実名可）と、隣接業種の「関連事例」を分けて置く。
   数字は大きく単位を小さく（design-fb②）。枠は白カードの1階層だけ
   ========================================================================== */
.ind-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.ind-case {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: var(--radius-sm);
  background: var(--tc-light-bg);
}
/* 関連事例（別業種・別サービス）は薄ラベンダー地にして、実績カードと役割を区別する */
.ind-case--related { background: var(--tc-lavender-soft); }
/* 実績カードのサムネ。カード上端に紺の帯を敷いて 9:16 のキャプチャを並べる（Home の Works と同じ作法）。
   画像のある案件が1件でもあるページは全カードに帯を置き、画像の無い案件は同じ 9:16 の枠に
   NO IMAGE を出してカードの高さを揃える。ページ内に画像が1枚も無いときは帯ごと置かない */
.ind-case-thumb {
  margin: -30px -26px 22px;
  aspect-ratio: 4 / 3;
  max-height: 300px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(163, 136, 255, 0.10), transparent 70%),
    linear-gradient(160deg, #181c44 0%, #0f1330 100%);
  overflow: hidden;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
}
/* 帯の高さに合わせて端末を伸ばす（カード幅は Results の件数で 1〜3 カラムに変わるため、
   幅基準だと 2 カラムのとき端末だけ小さく取り残される） */
.ind-case-phone {
  flex: 0 0 auto;
  height: calc(100% - 10px);
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #05061a;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
/* 2枚並ぶときだけ互い違いにずらす。1枚のときは中央に少し大きく置く */
.ind-case-phone:nth-child(odd) { transform: translateY(-5px); }
.ind-case-phone:nth-child(even) { transform: translateY(5px); }
.ind-case-phone:only-child { height: 100%; transform: none; }
/* 実績が1件だけのページはカードが広く、端末1台では帯が余る。そこだけ帯を高くして端末を大きく見せる
   （複数件のページでやると、同じ行の2枚帯カードと高さが揃わなくなる） */
.ind-cases:has(> :only-child) .ind-case-thumb:has(.ind-case-phone:only-child:not(.ind-case-phone--none)) { max-height: 360px; padding: 20px 18px; }
.ind-case-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 画像の無い案件のプレースホルダ。端末と同じ 9:16 の枠だけを破線で置く */
.ind-case-phone--none {
  background: transparent;
  box-shadow: none;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ind-case-noimg {
  font-family: var(--font-body-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
}
.ind-case-tag {
  font-family: var(--font-body-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-purple-deep);
  margin-bottom: 10px;
}
.ind-case-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--tc-light-ink);
  margin-bottom: 8px;
}
.ind-case-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--tc-light-ink-2);
  margin-bottom: 18px;
}
/* 出典の注記を置かないので、結果の行をカード下端に揃える */
.ind-case-result {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--tc-light-line);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--tc-light-ink-2);
}
.ind-case-result strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tc-rust);
  margin: 0 2px;
}
.ind-case-result em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tc-rust);
}
/* ==========================================================================
   S7 FAQ — 紺面の <details>。本文と FAQPage schema は同じ文言にする
   ========================================================================== */
.ind-faq { margin-top: 40px; border-top: 1px solid var(--home-line); }
.ind-faq-item { border-bottom: 1px solid var(--home-line); }
.ind-faq-q {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--home-ink);
}
.ind-faq-q::-webkit-details-marker { display: none; }
.ind-faq-q::after {
  content: "";
  position: absolute;
  right: 4px;
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  background: var(--home-accent-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.ind-faq-item[open] .ind-faq-q::after { transform: rotate(45deg); }
.ind-faq-a { padding: 0 0 24px; }
.ind-faq-a p { font-size: 14px; line-height: 1.95; color: var(--home-ink-2); max-width: 44em; }

/* ==========================================================================
   S8 RELATED — サンセット面。3つの役割を別の形で見せる（同型カードを並べない）
     (a) 同じ業種の他サービス … .svcp-others の白カード（既存 .sns-solution-card）
     (b) 同じサービスの他業種 … テキストリンクの行
     (c) 親サービスへ戻る    … 末尾の1行リンク（.svcp-others-all）
   ========================================================================== */
.ind-rel-head {
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.ind-rel-head:first-of-type { margin-top: 32px; }
.ind-rel-head + .sns-solutions { margin-top: 16px; }
/* 同業種の他サービスは4枚。サンセット面の既定（3カラム）だと最終行が1枚になるので、
   .svcp-others を前置して詳細度を上げたうえで4カラムに揃える */
.svcp-others .ind-rel-services.sns-solutions > * { width: calc((100% - 24px) / 4); }
.ind-rel-services .sns-solution-link { margin-top: auto; padding-top: 20px; }
/* 枚数が業種で違う（2〜5枚）ので、PC ではカード枚数に合わせて列数を変える。
   ギャップは service-page.css の 8px。1000px 以下は下の 2 カラム→1 カラムに任せる */
@media (min-width: 1001px) {
  .svcp-others .ind-rel-services.sns-solutions:has(> :nth-child(2):last-child) > * { width: calc((100% - 8px) / 2); }
  .svcp-others .ind-rel-services.sns-solutions:has(> :nth-child(3):last-child) > * { width: calc((100% - 16px) / 3); }
  .svcp-others .ind-rel-services.sns-solutions:has(> :nth-child(5)) > * { width: calc((100% - 32px) / 5); }
  .svcp-others .ind-rel-services.sns-solutions:has(> :nth-child(5)) .sns-solution-card { padding: 36px 22px 34px; }
  .svcp-others .ind-rel-services.sns-solutions:has(> :nth-child(5)) .sns-solution-title { font-size: 15px; }
  .svcp-others .ind-rel-services.sns-solutions:has(> :nth-child(5)) .sns-solution-desc { font-size: 12.5px; }
}
/* 語中で折らせたくない固有名詞用（各ページの本文で使う）。PC だけ効く改行は .ind-relcard-br */
.ind-page .ind-nb, .ind-page .ind-nowrap { white-space: nowrap; }
.ind-relcard-br { display: none; }
@media (min-width: 1001px) { .ind-relcard-br { display: inline; } }
/* パンくずは項目単位で折り返す（SP で「支／援」のように 1 文字だけ落ちるのを防ぐ） */
.svcp-crumb { flex-wrap: wrap; row-gap: 4px; }
.svcp-crumb a, .svcp-crumb span { white-space: nowrap; }

.ind-rel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 14px;
}
.ind-rel-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  transition: border-color 0.3s var(--ease-out-expo), opacity 0.3s;
}
.ind-rel-links a:hover { opacity: 0.75; border-bottom-color: #fff; }
.ind-rel-links a span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
}
.ind-rel-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   S9 CTA — 既存の .sns-cta をそのまま使う。ただし業種名が頭に付くぶん文言が長く、
   サイト既定の clamp(40px, 6vw, 88px) では中途半端な位置で改行される。
   業種ページだけ一段小さくし、意図した位置（.ind-cta-br）でだけ折る
   ========================================================================== */
.ind-page .sns-cta-title { font-size: clamp(24px, 4.6vw, 62px); }
/* PC と SP で折る位置が違うので、2種類の <br> を出し分ける。
   PC = ind-cta-br だけ有効（2行）、SP = ind-cta-br--sp だけ有効（3行） */
.ind-cta-br { display: inline; }
.ind-cta-br--sp { display: none; }

/* ==========================================================================
   タブレット（〜1000px）
   ========================================================================== */
@media (max-width: 1000px) {
  .ind-pains { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .ind-pain { padding: 22px 0 24px; }
  .ind-voices { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .ind-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-media-sum,
  .ind-media-kpi { grid-template-columns: 30% 1fr; }
  .svcp-others .ind-rel-services.sns-solutions > * { width: calc((100% - 8px) / 2); }
}

/* ==========================================================================
   スマホ（〜768px）: PC の縮小ではなく縦積み専用レイアウト
   （数値バンドの2カラム化は service-page.css 側の 768px ルールがそのまま効く）
   ========================================================================== */
@media (max-width: 768px) {
  .ind-band { margin-top: 34px; padding-left: 18px; font-size: 16px; }

  .ind-pain-title { font-size: 16px; }
  .ind-pain-desc { font-size: 13px; }
  .ind-voices { margin-top: 32px; gap: 20px; }
  .ind-voice { padding-left: 16px; }
  .ind-voice p { font-size: 14.5px; }

  /* 番号を上に逃がして本文の横幅を確保する */
  .ind-does { margin-top: 28px; }
  .ind-do { grid-template-columns: 1fr; row-gap: 6px; padding: 22px 0; }
  .ind-do-num { font-size: 20px; }
  .ind-do-title { font-size: 16px; }
  .ind-do-desc { font-size: 13.5px; line-height: 1.9; }

  /* 1行＝1ブロックの縦積みに組み替える（媒体名の下に役割） */
  .ind-media { margin-top: 36px; }
  .ind-media-toggle { padding: 16px 32px 16px 0; }
  .ind-media-sum,
  .ind-media-kpi {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ind-media-sum { padding: 15px 0 6px; }
  .ind-media-name { font-size: 15px; }
  .ind-media-role { font-size: 13px; }
  .ind-media-body { padding: 0 0 15px; }
  .ind-media-kpi { font-size: 13px; }
  .ind-media-kpi-label { padding-top: 0; }

  .ind-cases { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .ind-case { padding: 24px 20px 22px; }
  .ind-case-thumb { margin: -24px -20px 18px; padding: 20px 16px; }
  .ind-case-name { font-size: 16px; }
  .ind-case-result strong { font-size: 20px; }

  .ind-faq { margin-top: 28px; }
  .ind-faq-q { padding: 16px 36px 16px 0; font-size: 14.5px; }
  .ind-faq-a p { font-size: 13.5px; }

  .ind-cta-br { display: none; }
  .ind-cta-br--sp { display: inline; }

  .ind-rel-head { margin-top: 32px; font-size: 12px; }
  .svcp-others .ind-rel-services.sns-solutions > * { width: 100%; }
  .ind-rel-links { gap: 10px 20px; }
  .ind-rel-links a { font-size: 13.5px; }
}

/* 本文・注記内のテキストリンク（親の料金面などへ）。ライト面では深紫、紺面では白で下線 */
.ind-page .svcp-stats--light .svcp-stats-note a,
.ind-page .svcp-stats--light .ind-do-desc a,
.ind-page .svcp-stats--light .ind-faq-a a { color: var(--tc-purple-deep); text-decoration: underline; text-underline-offset: 3px; }
.ind-page .svcp-stats:not(.svcp-stats--light) .ind-faq-a a,
.ind-page .svcp-stats:not(.svcp-stats--light) .svcp-stats-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Results のカードが 2 件のときは 2 カラムに広げる */
@media (min-width: 1001px) { .ind-cases:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1001px) { .ind-cases:has(> :only-child) { grid-template-columns: minmax(0, 560px); } }

/* ==========================================================================
   v2（2026-09-14）— 「文章は簡潔に・イラスト多め」への作り替え。
   Issues / Solution を、EC ページの .ec-can と同じ「イラスト＋一言」の形にする。
   旧 .ind-pains / .ind-does（文章だけの3カラム・番号＋段落）の定義は、まだ v1 のまま
   残っているページがあるので上では消していない。新クラスだけをここに足す。
     Issues   … .ind-issues > .ind-issue（PC 3カラム・画像は上 180px 角）
     Solution … .ind-dos   > .ind-do   （PC 2×2・画像は左 160px 角）
   どちらも枠を作らない。SP は画像 96px 左＋文右。
   ========================================================================== */

/* --- S3 ISSUES（紺面）: 白背景イラストなので、ライト面の色のタイルに multiply で置く --- */
.ind-issues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  margin-top: 48px;
}
.ind-issue {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* 図・番号・見出し・本文・解決策。本文の行を伸ばして、解決策の行を横のカードと下端で揃える */
  grid-template-rows: auto auto auto 1fr auto;
  align-content: stretch;
}
/* 採用の詰まりを 4 件目として持つページ（pov/<ind>, sns/<ind>）: PC は 4 カラム、画像を 160px に */
.ind-issues--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.ind-issues--4 .ind-issue-fig { width: 160px; }
.ind-issue-fig {
  margin: 0 0 16px;
  width: 180px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  background: var(--tc-light-bg);
  overflow: hidden;
}
.ind-issue-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  mix-blend-mode: multiply;
}
.ind-issue-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: transparent;
  background: var(--tc-grad);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 8px;
}
.ind-issue-title {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.005em;
  font-feature-settings: 'palt' 1;
  color: var(--home-ink);
  text-wrap: balance;
  margin-bottom: 10px;
}
.ind-issue-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--home-ink-2);
}
/* 各 Issue に 1 対 1 で答える解決策を 1 文（2026-09-15）。Solution 節（サービス固定の 4 テーマ）とは別に、
   「この詰まりはこう解く」を本文の直下に置く。本文 → 下向き矢印（グラデ） → 「解決策」ピル → 1 文。
   文中の要点 1 か所を <strong> でマーカー風に強調する */
.ind-issue-fix {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--home-ink);
}
.ind-issue-fix-arrow {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 0 8px 2px;
  background: var(--tc-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v16M5 13l7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v16M5 13l7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ind-issue-fix-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  background: var(--tc-grad);
  padding: 5px 10px 4px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ind-issue-fix-text { display: block; }
.ind-issue-fix strong {
  font-weight: 800;
  color: #fff;
  background: linear-gradient(transparent 62%, rgba(160, 107, 255, 0.5) 62%);
}

/* --- S4 SOLUTION（ライト面）: 左に 160px のイラスト、右に番号・見出し・一言 --- */
.ind-dos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
  margin-top: 44px;
}
/* 旧 .ind-do（58px の番号列＋上罫線）を打ち消す。並びが違うだけで役割は同じ */
.ind-dos .ind-do {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  padding: 0;
  border-top: none;
}
.ind-dos .ind-do-img {
  display: block;
  width: 160px;
  height: auto;
  aspect-ratio: 1 / 1;
  mix-blend-mode: multiply;
}
.ind-dos .ind-do-num {
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 10px;
}
.ind-dos .ind-do-title {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.005em;
  font-feature-settings: 'palt' 1;
  margin-bottom: 8px;
}
.ind-dos .ind-do-desc { font-size: 13.5px; line-height: 1.9; max-width: none; }

@media (max-width: 1000px) {
  .ind-issues { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  /* 画像が3行ぶんをまたぐので、余白が行間に配られないよう最後の行に寄せる */
  .ind-issue {
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 22px;
    padding: 22px 0 24px;
    border-top: 1px solid var(--home-line);
  }
  .ind-issue-fig { grid-row: 1 / span 4; width: 160px; margin: 0; align-self: start; }
  .ind-issue-fix { grid-column: 2; align-self: start; }
  .ind-dos { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .ind-issue { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .ind-issue-fig { width: 96px; }
  .ind-issue-title { font-size: 15.5px; margin-bottom: 6px; }
  .ind-issue-desc { font-size: 12.5px; line-height: 1.8; }
  .ind-issue-fix { font-size: 12.5px; line-height: 1.75; margin-top: 10px; }
  .ind-issue-fix-arrow { width: 18px; height: 18px; margin-bottom: 6px; }

  .ind-dos { margin-top: 28px; gap: 20px; }
  .ind-dos .ind-do { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .ind-dos .ind-do-img { width: 96px; }
  .ind-dos .ind-do-num { margin-bottom: 6px; }
  .ind-dos .ind-do-title { font-size: 15px; margin-bottom: 4px; }
  .ind-dos .ind-do-desc { font-size: 12.5px; line-height: 1.8; }
}

/* ==========================================================================
   Related v2（2026-09-14 ユーザー FB「Related の情報が多すぎる。トグルを活用」）
   ライト面に置き、2 つの一覧を <details> で畳む。直後に親と同じ Services 一覧（サンセット）を置く。
   ========================================================================== */
.ind-related.svcp-stats--light .svcp-ind-list { margin-top: 0; border-top: none; }
.ind-related.svcp-stats--light .svcp-ind-item { border-bottom-color: var(--tc-light-line); padding: 14px 2px; }
.ind-related.svcp-stats--light .svcp-ind-item:last-child { border-bottom: none; }
.ind-related.svcp-stats--light .svcp-ind-link { color: var(--tc-light-ink); }
.ind-related.svcp-stats--light .svcp-ind-name { font-size: 15px; border-bottom-color: rgba(20, 23, 46, 0.32); }
.ind-related.svcp-stats--light .svcp-ind-link:hover .svcp-ind-name { border-bottom-color: var(--tc-light-ink); }
.ind-related.svcp-stats--light .svcp-ind-desc { color: var(--tc-light-ink-2); font-size: 13.5px; }
.ind-related.svcp-stats--light .ind-rel-links { margin: 4px 0 18px; }
.ind-related.svcp-stats--light .ind-rel-links a { color: var(--tc-light-ink); border-bottom-color: rgba(20, 23, 46, 0.32); }
.ind-related.svcp-stats--light .ind-rel-links a:hover { border-bottom-color: var(--tc-light-ink); }
.ind-related.svcp-stats--light .ind-rel-note { color: var(--tc-light-ink-3); margin-top: 22px; }
.ind-related.svcp-stats--light .ind-rel-note a { color: var(--tc-purple-deep); text-decoration: underline; text-underline-offset: 3px; }
.ind-rel-toggles { margin-top: 32px; border-top: 1px solid var(--tc-light-line); }
.ind-rel-toggle { border-bottom: 1px solid var(--tc-light-line); }
.ind-rel-sum {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--tc-light-ink);
}
.ind-rel-sum::-webkit-details-marker { display: none; }
.ind-rel-sum::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--tc-purple-deep);
  transition: transform 0.3s var(--ease-out-expo);
}
.ind-rel-toggle[open] .ind-rel-sum::after { transform: translateY(-50%) rotate(45deg); }
.ind-rel-count {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-purple-deep);
}
.ind-rel-toggle .ind-rel-list { margin: 0 0 8px; }
.ind-rel-parent {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tc-purple-deep);
  border-bottom: 1px solid rgba(61, 41, 137, 0.4);
  padding-bottom: 2px;
}
.ind-rel-parent:hover { opacity: 0.75; }
@media (max-width: 768px) {
  .ind-rel-toggles { margin-top: 24px; }
  .ind-rel-sum { font-size: 15px; padding: 15px 36px 15px 0; }
  .ind-related.svcp-stats--light .svcp-ind-item { padding: 12px 0; }
}
