/* =====================================================================
   オファリング（製品）ページ
   os.css（共通の部品）＋ industry.css（画面の並び・見出しの下の一文など）に足す分
   製品の色は .off の style で --ind / --ind-2 / --ind-bg を渡す
   ===================================================================== */

/* ---------- FV：右に実際の画面をウィンドウ風に ---------- */
.off .os-hero-copy { max-width: 560px; }
.off-logo { margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.off-logo img { width: 150px; height: 50px; object-fit: cover; object-position: 50% 50%; mix-blend-mode: multiply; }
.off-logo span { padding: 3px 14px; border-radius: 100px; background: var(--ind-bg); color: var(--ind-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.off-specs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.off-specs li { padding: 12px 12px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--sub); font-size: 12px; line-height: 1.5; text-align: center; }
.off-specs b { display: block; color: var(--ind-2); font: 800 24px/1.2 var(--en); letter-spacing: .02em; }
.off-specs b small { font-size: 12px; margin-left: 2px; }
.off-hero-screen { position: absolute; z-index: 1; top: 96px; right: max(16px, calc(50% - 600px)); width: clamp(420px, 40vw, 540px); border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 40px 70px -30px rgba(18, 54, 94, .45), 0 0 0 1px rgba(18, 54, 94, .08); }
.off-hero-screen img { display: block; width: 100%; height: auto; }
.off-window { display: flex; gap: 6px; padding: 10px 12px; background: #eef2f7; }
.off-window i { width: 9px; height: 9px; border-radius: 50%; background: #c9d3df; }
.off .os-hero .h1 { right: calc(50% - 680px); top: -40px; }
.off .os-hero .h2 { width: 120px; right: calc(50% - 160px); top: 470px; }
.off .os-hero .h3 { right: calc(50% - 60px); top: 30px; }

/* 特長の図（元の画像は白地なので、そのまま白で見せる） */
.off-fig { background: #fff; padding: 12px; max-width: 780px; margin: 0 auto; }
.off-fig img { mix-blend-mode: normal; max-height: 620px; object-fit: contain; }

/* ---------- 使い方（4つの手順） ---------- */
.off-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.off-steps li { position: relative; padding: 28px 22px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 40px -32px rgba(31, 58, 95, .45); }
.off-steps li:not(:last-child)::after { content: ""; position: absolute; right: -17px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--acc); border-right: 3px solid var(--acc);
  transform: translateY(-50%) rotate(45deg); }
.off-step-no { position: absolute; right: 18px; top: 16px; font: 800 28px/1 var(--en); color: var(--ind-bg); -webkit-text-stroke: 1px color-mix(in srgb, var(--ind) 40%, #fff); }
.off-steps .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--ind-bg); margin-bottom: 16px; }
.off-steps .ic::before { inset: 13px; background: var(--ind); }
.off-steps b { display: block; font-size: 19px; letter-spacing: .06em; }
.off-steps p { margin: 8px 0 0; color: var(--sub); font-size: 14px; line-height: 1.8; }

/* ---------- 向いている方（チェックリスト）＋強み ---------- */
.off-fit { position: relative; display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: 24px; padding: 0 40px; border-radius: 28px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(31, 58, 95, .45); overflow: hidden; }
.off-check { list-style: none; margin: 0; padding: 36px 0; display: grid; gap: 12px; align-self: center; }
.off-check li { position: relative; padding: 14px 18px 14px 56px; border-radius: 14px; background: var(--cream); font-size: 16px; font-weight: 700; line-height: 1.6; }
.off-check li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 26px; height: 26px; border-radius: 8px; background: var(--acc); transform: translateY(-50%); }
.off-check li::after { content: ""; position: absolute; left: 24px; top: 50%; width: 7px; height: 13px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-65%) rotate(45deg); }
.off-fit-person { width: 220px; height: auto; display: block; }
.off-sub-title { margin: 64px 0 20px; text-align: center; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: .06em; }
.off-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.off-stats li { padding: 26px 20px 22px; border-radius: 22px; background: linear-gradient(160deg, var(--ind-2), color-mix(in srgb, var(--ind-2) 70%, #000)); color: #fff; text-align: center; }
.off-stats b { display: block; font: 800 34px/1.2 var(--en); letter-spacing: .02em; color: #fff; }
.off-stats b small { font-size: 15px; margin: 0 2px; color: #ffd2a1; }
.off-stats span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.85); }

/* ---------- 実際の画面（3枚見せて、残りは折りたたみ） ---------- */
.off .ind-screens figure .os-zoom img { aspect-ratio: 4 / 3; object-position: center top; }
.off-more { margin-top: 18px; }
.off-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 320px; margin: 0 auto; padding: 12px; border-radius: 100px;
  border: 1.5px dashed var(--ind); color: var(--ind-2); font-weight: 700; }
.off-more > summary::-webkit-details-marker { display: none; }
.off-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.off-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.off-more > summary:hover { background: var(--ind-bg); }
.off-more .less, .off-more[open] .more { display: none; }
.off-more[open] .less { display: inline; }
.off-more[open] > summary { margin-bottom: 22px; }

/* ---------- 「慣習」とつなぐと（流れの図） ---------- */
.off-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.off-flow li { position: relative; padding: 24px 20px 22px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.off-flow li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--acc); border-right: 3px solid var(--acc);
  transform: translateY(-50%) rotate(45deg); }
.off-flow-tag { display: inline-block; padding: 2px 12px; border-radius: 100px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #ffd2a1; }
.off-flow b { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 12px; font-size: 18px; letter-spacing: .04em; }
.off-flow b .os-mark { margin-right: 4px; }
.off-flow p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.75); }
.off-flow li.is-mece { background: #fff; color: var(--ink); border-color: transparent; }
.off-flow li.is-mece p { color: var(--sub); }
.off-flow li.is-mece .off-flow-tag { background: var(--ind-bg); color: var(--ind-2); }
.off-flow li.is-ai { background: linear-gradient(150deg, #ff9a2e, #e06a00); border-color: transparent; }
.off-flow li.is-ai p { color: #fff; }
.off-flow li.is-ai .off-flow-tag { background: rgba(255,255,255,.22); color: #fff; }
.off .ind-world { margin-top: 48px; padding-top: 32px; }

/* ---------- ほかのオファリング ---------- */
.off-siblings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.off-siblings a { position: relative; display: block; height: 100%; padding: 24px 22px 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease; }
.off-siblings a::after { content: "›"; position: absolute; right: 18px; top: 18px; font: 400 26px/1 var(--en); color: var(--acc); transition: transform .2s ease; }
.off-siblings a:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -24px rgba(31, 58, 95, .55); }
.off-siblings a:hover::after { transform: translateX(4px); }
.off-siblings b { display: block; font: 800 26px/1.2 var(--en); color: var(--ind-2); letter-spacing: .02em; }
.off-siblings span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--sub); }
.off-siblings small { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--ink); }

/* =====================================================================
   タブレット・スマホ
   ===================================================================== */
@media (max-width: 1023px) {
  .off .os-hero .h2 { display: none; }
  .off-hero-screen { position: relative; top: auto; right: auto; width: min(86%, 560px); margin: 20px auto 32px; }
  .off-steps { grid-template-columns: 1fr 1fr; }
  .off-steps li:nth-child(2)::after { display: none; }
  .off-fit { grid-template-columns: 1fr 160px; padding: 0 24px; }
  .off-fit-person { width: 160px; }
  .off-stats { grid-template-columns: 1fr 1fr; }
  .off-flow { grid-template-columns: 1fr 1fr; }
  .off-flow li:nth-child(2)::after { display: none; }
  .off-siblings { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .off-logo img { width: 120px; height: 40px; }
  .off-specs { gap: 6px; }
  .off-specs li { padding: 10px 6px 8px; font-size: 11px; }
  .off-specs b { font-size: 20px; }
  .off-hero-screen { width: 100%; }
  .off-steps { grid-template-columns: 1fr; gap: 26px; }
  .off-steps li:nth-child(n)::after { display: block; right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%) rotate(135deg); }
  .off-steps li:last-child::after { display: none; }
  .off-fit { grid-template-columns: 1fr; padding: 0 16px; }
  .off-check { padding: 20px 0 0; }
  .off-check li { font-size: 14px; padding: 12px 14px 12px 50px; }
  .off-check li::before { left: 12px; }
  .off-check li::after { left: 20px; }
  .off-fit-person { width: 150px; justify-self: center; }
  .off-stats { gap: 10px; }
  .off-stats li { padding: 18px 12px 16px; }
  .off-stats b { font-size: 24px; }
  .off-flow { grid-template-columns: 1fr; gap: 28px; }
  .off-flow li:nth-child(n)::after { display: block; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%) rotate(135deg); }
  .off-flow li:last-child::after { display: none; }
  .off-siblings { grid-template-columns: 1fr; gap: 12px; }
}

/* =====================================================================
   7つのオファリング（VOX・PIXER・tone・ぱぴプ・hub・建設土木）で足した部品
   ===================================================================== */
.off-logo-text { font: 800 22px/1.2 var(--en); color: var(--ind-2); letter-spacing: .02em; }
/* 縦長の画面（スマホ・アプリ）は細めの枠で */
.off-hero-screen.is-phone { width: clamp(240px, 22vw, 300px); right: max(80px, calc(50% - 480px)); }
/* 画面がまだない製品 */
.off-hero-screen.is-soon .off-soon { display: grid; place-items: center; gap: 14px; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, #f7f9fc 0 14px, #eef2f7 14px 28px); }
.off-soon img { width: 140px; height: auto; mix-blend-mode: multiply; }
.off-soon p { margin: 0; padding: 4px 14px; border-radius: 100px; background: #fff; color: var(--sub); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
/* 主な特徴：画像がないとき */
.os-illust.is-noimg { grid-template-columns: 1fr; }
/* 主な特徴：使い方ごとのカード */
.off-pat { margin-top: 28px; }
.off-pat .os-feature-head { margin-bottom: 22px; align-items: center; }
.off-pat-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.off-pat-imgs figure { margin: 0; }
.off-pat-imgs .os-zoom { background: #eef2f7; padding: 10px; border-radius: 16px; }
.off-pat-imgs .os-zoom img { aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border-radius: 8px; mix-blend-mode: normal; }
.off-pat .os-points { margin-top: 20px; grid-template-columns: repeat(3, 1fr); }
.off-pat-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.off-pat-fit > span { padding: 2px 12px; border-radius: 100px; background: var(--ind-bg); color: var(--ind-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.off-pat-fit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.off-pat-fit li { padding: 4px 12px; border-radius: 10px; background: var(--cream); font-size: 13px; }
.off-pat-str { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.off-pat-str li { position: relative; padding-left: 20px; color: var(--sub); font-size: 13px; }
.off-pat-str li::before { content: "★"; position: absolute; left: 0; color: var(--acc); font-size: 12px; }
.off-merits { margin-top: 32px; }
/* 強みの数が4つより少ないとき */
.off-stats[style*="--n"] { grid-template-columns: repeat(var(--n), minmax(0, 260px)); justify-content: center; }
@media (max-width: 1023px) {
  .off-hero-screen.is-phone { width: min(60%, 280px); }
  .off-pat .os-points { grid-template-columns: 1fr; }
  .off-stats[style*="--n"] { grid-template-columns: 1fr 1fr; }
  .off-stats[style*="--n:1"] { grid-template-columns: minmax(0, 320px); }
}
@media (max-width: 640px) {
  .off-pat-imgs { grid-template-columns: 1fr; }
  .off-stats[style*="--n"] { grid-template-columns: 1fr; }
}

/* 使い方の中の映像（GIF）1点：横いっぱいに */
.off-pat-movie { margin: 0; padding: 10px; border-radius: 16px; background: #eef2f7; }
.off-pat-movie img, .off-pat-movie video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #fff; }
.off-pat-movie figcaption { margin: 8px 4px 0; color: var(--sub); font-size: 12px; line-height: 1.6; }
