/* AXソリューション（service-ax-solution.html）専用スタイル。接頭辞 .svc-solution-* */

/* ---------- 共通 ---------- */
.svc-solution-ico { flex: none; width: 48px; height: 48px; border-radius: var(--radius-card); background: var(--surface); display: grid; place-items: center; }
.svc-solution-ico--surface { background: var(--paper); }
.svc-solution-ico svg { width: 24px; height: 24px; stroke: var(--ink-high); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-solution-svg { width: 100%; height: auto; }
.svc-solution-svg text { font-family: inherit; }
.svc-solution-note { margin-top: var(--sp-4); }
.svc-solution-subhead { margin: var(--sp-14) 0 var(--sp-6); }

/* ---------- ヒーロー ---------- */
.svc-solution-hero__grid { display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 1024px) { .svc-solution-hero__grid { grid-template-columns: 6fr 5fr; gap: var(--sp-12); } }
.svc-solution-hero__text .label { margin-bottom: var(--sp-4); }
.svc-solution-hero__sub { display: block; margin-top: var(--sp-2); font-size: var(--fs-2xl); line-height: var(--lh-2xl); color: var(--ink-mid); }
.svc-solution-hero p.lead { max-width: 560px; }
.svc-solution-hero__fig { margin: 0; padding: var(--sp-6); border-radius: var(--radius-img); background: var(--surface); }
.svc-solution-hero__fig figcaption { margin-top: var(--sp-3); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--ink-mid); text-align: center; }
.svc-solution-hero .cta-inline { margin-top: var(--sp-12); }
.svc-solution-nav { margin-top: var(--sp-8); }
.svc-solution-nav .tab { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.svc-solution-hero__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.svc-solution-hero__tags li { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 6px 16px 6px 12px; border-radius: var(--radius-pill); background: var(--surface); font-size: var(--fs-sm); line-height: var(--lh-xs); font-weight: 700; }
.svc-solution-hero__tags svg { width: 18px; height: 18px; stroke: var(--ink-high); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.hv-doc { fill: var(--paper); stroke: var(--border-low); stroke-width: 1; }
.hv-line { fill: var(--border-mid); }
.hv-arrow { fill: none; stroke: var(--ink-mid); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv-agent { fill: var(--ai-container); stroke: url(#svcSolGrad); stroke-width: 2.5; }
.hv-robot { fill: none; stroke: var(--ai-on); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.hv-human { fill: var(--paper); stroke: var(--border-mid); stroke-width: 1.5; }
.hv-person { fill: none; stroke: var(--ink-high); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.hv-label { fill: var(--ink-high); font-size: 15px; font-weight: 700; }

/* ---------- 課題 ---------- */
.svc-solution-issue { display: grid; gap: var(--sp-6); align-content: start; padding: var(--sp-8); }
.svc-solution-issue__head { display: flex; align-items: center; gap: var(--sp-4); }
.svc-solution-issue__title { font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 700; }
.svc-solution-worries { display: grid; gap: var(--sp-3); }
.svc-solution-worries li { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-card); background: var(--surface); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.svc-solution-worries svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--ink-low); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-solution-goal { display: grid; gap: 2px; padding: var(--sp-4); border-radius: var(--radius-card); background: var(--gradient-brand-20); }
.svc-solution-goal__label { font-size: var(--fs-2xs); line-height: var(--lh-2xs); font-weight: 700; color: var(--positive-on); }
.svc-solution-goal p { font-weight: 700; font-size: var(--fs-sm); line-height: var(--lh-sm); }

/* ---------- コンセプト図 ---------- */
.svc-solution-concept { display: grid; gap: var(--sp-4); align-items: stretch; }
@media (min-width: 1024px) { .svc-solution-concept { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--sp-4); } }
.svc-solution-concept__arrow { display: grid; place-items: center; }
.svc-solution-concept__arrow svg { width: 40px; height: 40px; stroke: var(--ink-mid); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
@media (min-width: 1024px) { .svc-solution-concept__arrow svg { transform: none; } }
.svc-solution-panel { margin: 0; padding: var(--sp-6); border-radius: var(--radius-card); background: var(--surface); display: grid; gap: var(--sp-4); align-content: start; }
.svc-solution-panel figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.svc-solution-panel__title { font-size: var(--fs-md); line-height: var(--lh-md); font-weight: 700; }
.svc-solution-panel .svc-solution-svg { max-width: 460px; margin: 0 auto; }
.svc-solution-panel--after { background: var(--inverse); color: #fff; }

.sv-row { fill: var(--paper); }
.sv-num { fill: var(--ink-low); font-family: var(--font-en); font-weight: 600; font-size: 13px; }
.sv-step { fill: var(--ink-high); font-size: 15px; font-weight: 700; }
.sv-who { fill: var(--ink-mid); font-size: 13px; }
.sv-icon { fill: none; stroke: var(--ink-high); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-bar-label { fill: var(--ink-high); font-size: 13px; font-weight: 700; }
.sv-track { fill: var(--border-low); }
.sv-fill { fill: var(--ink-mid); }
.sv-note { fill: var(--ink-mid); font-size: 13px; }
.svc-solution-panel--after .sv-row { fill: rgba(255, 255, 255, .08); }
.svc-solution-panel--after .sv-num { fill: var(--ink-inv-low); }
.svc-solution-panel--after .sv-step { fill: #fff; }
.svc-solution-panel--after .sv-who { fill: #7fe8d6; font-weight: 700; }
.svc-solution-panel--after .sv-icon { stroke: #7fe8d6; }
.svc-solution-panel--after .sv-bar-label { fill: #fff; }
.svc-solution-panel--after .sv-track { fill: var(--border-inv-low); }
.svc-solution-panel--after .sv-fill { fill: #7fe8d6; }
.svc-solution-panel--after .sv-note { fill: var(--ink-inv-mid); }

/* ---------- 支援内容 ---------- */
.svc-solution-flow { display: grid; gap: var(--sp-3); }
@media (min-width: 1024px) { .svc-solution-flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: var(--sp-2); } }
.svc-solution-flow__item { display: grid; align-content: start; }
.svc-solution-flow__item .card__icon { background: var(--surface); }
.svc-solution-flow__item .card__title { margin-top: 0; }
.svc-solution-flow__no { position: absolute; top: var(--sp-6); right: var(--sp-6); font-family: var(--font-en); font-weight: 600; font-size: var(--fs-2xl); line-height: var(--lh-2xl); color: var(--ink-low); }
.svc-solution-flow__out { display: grid; gap: 2px; margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--border-low); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 700; align-self: end; }
.svc-solution-flow__item { grid-template-rows: auto auto 1fr auto; }
.svc-solution-flow__out span { font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 400; color: var(--ink-mid); }
.svc-solution-flow__arrow { display: grid; place-items: center; }
.svc-solution-flow__arrow svg { width: 28px; height: 28px; stroke: var(--ink-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
@media (min-width: 1024px) { .svc-solution-flow__arrow svg { transform: none; } }
.svc-solution-secure { margin-top: var(--sp-4); display: grid; gap: var(--sp-4); align-items: center; padding: var(--sp-6) var(--sp-8); border-radius: var(--radius-card); background: var(--inverse); color: #fff; }
@media (min-width: 1024px) { .svc-solution-secure { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-8); } }
.svc-solution-secure__icon { width: 56px; height: 56px; border-radius: var(--radius-card); background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.svc-solution-secure__icon svg { width: 30px; height: 30px; stroke: #7fe8d6; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-solution-secure__body { display: grid; gap: var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-inv-mid); }
.svc-solution-secure__tag { font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 700; color: #7fe8d6; }
.svc-solution-secure__title { font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 700; color: #fff; }
.svc-solution-secure__clouds { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.svc-solution-secure__clouds li { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 6px 14px 6px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); font-size: var(--fs-sm); line-height: var(--lh-xs); font-weight: 700; }
.svc-solution-secure__clouds svg { width: 18px; height: 18px; stroke: #7fe8d6; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 導入事例 ---------- */
.svc-solution-cases { display: grid; gap: var(--sp-4); }
@media (min-width: 1024px) { .svc-solution-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-solution-case { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-6); }
.svc-solution-case .card__title { margin-top: 0; }
.svc-solution-case__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); }
.svc-solution-case__no { font-family: var(--font-en); font-weight: 600; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--ink-low); }
.svc-solution-kpi { padding: var(--sp-4) 0 0; border-top: 1px solid var(--border-low); }
.svc-solution-kpi__value { font-family: var(--font-en); font-weight: 600; font-size: var(--fs-5xl); line-height: 1.1; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-solution-kpi__value small { font-family: var(--font-ja); font-size: var(--fs-lg); font-weight: 700; margin-left: 4px; }
.svc-solution-kpi__label { margin-top: var(--sp-2); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 700; }
.svc-solution-mini { width: 100%; max-width: 340px; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-card); background: var(--paper); box-sizing: border-box; }
.svc-solution-case__dl { display: grid; gap: var(--sp-3); }
.svc-solution-case__dl dt { font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 700; color: var(--ink-high); }
.svc-solution-case__dl dd { margin-top: 2px; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-mid); }
.svc-solution-case__foot { display: grid; gap: var(--sp-2); margin-top: auto; }
.svc-solution-case .chip { background: var(--paper); }
.svc-solution-more { margin-top: var(--sp-8); justify-content: center; }
.svc-solution-more + .cta-inline { margin-top: var(--sp-12); }

.mn-label { fill: var(--ink-mid); font-size: 12px; }
.mn-val { fill: var(--ink-high); font-size: 13px; font-weight: 700; }
.mn-val--in { fill: #fff; }
.mn-bar { fill: var(--ink-mid); }
.mn-bar--after { fill: var(--interactive); }
.mn-ring { fill: none; stroke: var(--border-low); stroke-width: 10; }
.mn-ring--on { stroke: var(--interactive); stroke-linecap: butt; }
.mn-ring-val { fill: var(--ink-high); font-family: var(--font-en); font-weight: 600; font-size: 15px; }

/* ---------- 開発体制 ---------- */
.svc-solution-team { display: grid; gap: var(--sp-3); align-items: stretch; }
@media (min-width: 768px) { .svc-solution-team { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: var(--sp-4); } }
.svc-solution-team__side { display: grid; align-content: start; gap: var(--sp-2); }
.svc-solution-team__side .card__icon { background: var(--paper); }
.svc-solution-team__side.card--inv .card__icon { background: rgba(255, 255, 255, .08); }
.svc-solution-team__list { display: grid; gap: var(--sp-2); font-weight: 700; font-size: var(--fs-md); line-height: var(--lh-md); }
.svc-solution-team__list li { padding-left: var(--sp-4); position: relative; }
.svc-solution-team__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--interactive); }
.svc-solution-team__link { display: grid; place-items: center; align-content: center; gap: var(--sp-1); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 700; color: var(--ink-mid); }
.svc-solution-team__link svg { width: 48px; height: 24px; stroke: var(--ink-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
@media (min-width: 768px) { .svc-solution-team__link svg { transform: none; } }

/* ---------- 他社比較 ---------- */
.svc-solution-compare tbody th { background: transparent; color: var(--ink-high); font-size: var(--fs-sm); line-height: var(--lh-sm); text-align: left; }
.svc-solution-compare tbody th, .svc-solution-compare td { vertical-align: middle; }
.svc-solution-compare td { background: var(--paper); }
.svc-solution-compare tbody th { background: var(--paper); }
.svc-solution-compare td.is-augue { background: var(--inverse); }

/* ---------- 進め方 ---------- */
.svc-solution-flowhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-6); margin: 0 0 var(--sp-6); }
.svc-solution-period { display: inline-flex; align-items: baseline; gap: var(--sp-3); padding: var(--sp-2) var(--sp-6); border-radius: var(--radius-pill); background: var(--surface); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 700; color: var(--ink-mid); }
.svc-solution-period b { font-family: var(--font-en); font-size: var(--fs-xl); line-height: var(--lh-xl); color: var(--ink-high); }
.svc-solution-steps { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .svc-solution-steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.svc-solution-step { position: relative; display: grid; gap: var(--sp-2); align-content: start; padding: var(--sp-6); border-radius: var(--radius-card); background: var(--surface); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-mid); }
@media (min-width: 768px) {
  .svc-solution-step:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: calc(-1 * var(--sp-6) + 2px); width: 12px; height: 12px; border-top: 3px solid var(--interactive); border-right: 3px solid var(--interactive); transform: rotate(45deg); z-index: 1; }
}
.svc-solution-step__no { font-family: var(--font-en); font-weight: 600; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--ink-mid); }
.svc-solution-step__title { font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: 700; color: var(--ink-high); margin-top: var(--sp-1); }
.svc-solution-cycle { margin-top: var(--sp-8); display: grid; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--radius-card); background: var(--surface-warm); }
.svc-solution-cycle__title { display: flex; gap: var(--sp-2); align-items: center; font-weight: 700; font-size: var(--fs-md); line-height: var(--lh-md); }
.svc-solution-cycle__title svg { width: 22px; height: 22px; flex: none; stroke: var(--interactive); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-solution-cycle__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.svc-solution-cycle__list li:not(.svc-solution-cycle__arrow) { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--border-low); font-size: var(--fs-sm); line-height: var(--lh-xs); font-weight: 700; }
.svc-solution-cycle__arrow svg { width: 20px; height: 20px; stroke: var(--ink-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-solution-scale { display: grid; gap: var(--sp-1); justify-items: start; align-content: start; }
.svc-solution-scale__svg { width: 72px; height: 72px; margin-bottom: var(--sp-3); }
.svc-solution-scale .card__title, .svc-solution-scale .card__body { margin-top: 0; }
.sc-bg { fill: var(--paper); }
.sc-edge { stroke: var(--border-high); stroke-width: 1.5; fill: none; }
.sc-node { fill: var(--paper); stroke: var(--ink-high); stroke-width: 1.8; }
.sc-node--core { fill: var(--ai); stroke: var(--ai); }

/* ---------- 関連サービス ---------- */
.svc-solution-stages { display: grid; gap: var(--sp-2); }
@media (min-width: 768px) { .svc-solution-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-solution-stages li { display: grid; gap: 2px; padding: var(--sp-4) var(--sp-6); border-radius: var(--radius-card); background: var(--surface); }
.svc-solution-stages li span { font-weight: 700; font-size: var(--fs-lg); line-height: var(--lh-lg); }
.svc-solution-stages li b { font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 700; color: var(--ink-mid); }
.svc-solution-stages li.is-current { background: var(--inverse); color: #fff; }
.svc-solution-stages li.is-current b { color: #7fe8d6; }
.svc-solution-related { display: grid; align-content: start; }
.svc-solution-related .card__icon { background: var(--paper); }
.svc-solution-related .card__title { margin-top: var(--sp-1); }
.svc-solution-related__more { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-4); font-weight: 700; font-size: var(--fs-sm); line-height: var(--lh-sm); }
.svc-solution-related__more svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-fast) var(--ease-enter); }
.svc-solution-related:hover .svc-solution-related__more svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) { .svc-solution-related__more svg { transition: none; } }

/* ---------- 課題（1枚の横長カード） ---------- */
@media (min-width: 1024px) {
  .svc-solution-issue--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head worries" "goal worries"; column-gap: var(--sp-12); align-items: start; }
  .svc-solution-issue--wide .svc-solution-issue__head { grid-area: head; }
  .svc-solution-issue--wide .svc-solution-worries { grid-area: worries; }
  .svc-solution-issue--wide .svc-solution-goal { grid-area: goal; align-self: start; }
}

/* ---------- 事例リンク・ミニ図 ---------- */
.svc-solution-case__link { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; font-weight: 700; font-size: var(--fs-sm); line-height: var(--lh-sm); }
.svc-solution-case__link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-fast) var(--ease-enter); }
.svc-solution-case__link:hover svg { transform: translateX(4px); }
.mn-track { fill: var(--border-low); }

/* ---------- 技術カード ---------- */
.svc-solution-chiphead { margin: var(--sp-3) 0 var(--sp-2); font-weight: 700; }
.svc-solution-tech-wide { grid-column: 1 / -1; display: grid; gap: var(--sp-3); align-items: center; }
.svc-solution-tech-wide .card__icon { margin-bottom: 0; }
.svc-solution-tech-wide .card__title, .svc-solution-tech-wide .card__body { margin-top: var(--sp-1); }
@media (min-width: 768px) { .svc-solution-tech-wide { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-6); } }
@media (max-width: 639.98px) { .svc-solution-tech-wide { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .svc-solution-case__link svg { transition: none; } }
