/*
 * TSS RFID Room
 * 利用シーン別ページ：工程管理
 */

.process-pain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
}

.process-issues-lead {
  margin-top: 36px !important;
}

/* 工程管理で本当に改善したいこと */
.process-purpose {
  background: linear-gradient(90deg, #232a3a 0%, #777d89 100%);
  color: #fff;
}

.process-purpose .inv-heading,
.process-purpose .inv-lead {
  color: #fff !important;
}

.process-purpose .inv-lead {
  max-width: 1120px;
  margin-bottom: 0 !important;
}

/* 紙・Excel・バーコード・RFID比較 */
.process-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 6px;
}

.process-matrix {
  display: grid;
  grid-template-columns: 180px repeat(4, minmax(220px, 1fr));
  gap: 4px;
  min-width: 1180px;
  margin: 0 auto;
}

.process-matrix__blank {
  min-height: 174px;
}

.process-matrix__method {
  display: grid;
  grid-template-rows: 112px 62px;
  overflow: hidden;
}

.process-matrix__method img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.process-matrix__method span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: #858585;
  color: #fff;
  text-align: center;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .03em;
}

.process-matrix__method--rfid span {
  background: #c5a600;
}

.process-matrix__row-label,
.process-matrix__cell {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 13px 18px;
}

.process-matrix__row-label {
  justify-content: center;
  background: #303233;
  color: #fff;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .04em;
}

.process-matrix__cell {
  justify-content: center;
  background: #e9e9e9;
  color: #363636;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.process-matrix__cell--rfid {
  background: #fff8dc;
}

/* 関連利用シーン */
.scene-page--process .inv-scene {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 118px;
}

.scene-page--process .inv-scene img {
  width: 120px;
  height: 118px;
  object-fit: cover;
  opacity: 1;
}

.scene-page--process .inv-scene span {
  position: static;
  display: flex;
  align-items: center;
  padding: 18px 24px;
  background: #2d3343;
}

/* FAQ内リンク */
.process-faq-link {
  display: block !important;
  margin-top: 18px !important;
}

.process-faq-link a {
  color: #b29d43;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 下部CTA */
.scene-page #sub-nav-cta-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3em 0;
  background: var(--grad-surface);
}

.scene-page #sub-nav-cta-bottom .cta_buttons ul.buttons {
  display: flex;
  justify-content: center;
  gap: .75em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-page #sub-nav-cta-bottom .cta_buttons .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-width: 280px;
  height: 2.5em;
  padding: 2em;
}

.scene-page #sub-nav-cta-bottom .text_wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.scene-page #sub-nav-cta-bottom .cta_consult {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  color: #fff !important;
}

.scene-page #sub-nav-cta-bottom .cta_catalog {
  background: #fff;
  border: 1px solid var(--border-dark);
  color: var(--text-main) !important;
}

@media screen and (max-width: 736px) {
  .process-pain-grid {
    grid-template-columns: 1fr;
  }

  .scene-page #sub-nav-cta-bottom .cta_buttons ul.buttons {
    flex-direction: column;
  }
}
