/*
 * TSS RFID Room
 * 利用シーン別ページ：在庫管理
 * scene-common.cssに対するページ固有差分
 */

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

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

.inventory-profit {
  background: linear-gradient(90deg, #232a3a 0%, #777d89 100%);
  color: #fff;
}

.inventory-profit .inv-heading,
.inventory-profit .inv-lead {
  color: #fff !important;
}

.inventory-profit-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  max-width: 1400px;
  margin: 44px auto 0;
}

.inventory-profit-flow__set {
  display: grid;
  grid-template-rows: auto 44px auto;
  align-items: stretch;
  min-width: 0;
  text-align: center;
}

.inventory-profit-flow__cause,
.inventory-profit-flow__loss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
  padding: 14px 16px;
}

.inventory-profit-flow__cause {
  background: #fff;
  color: #4d4d4d;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
}

.inventory-profit-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.inventory-profit-flow__arrow i {
  font-size: 32px;
  line-height: 1;
}

.inventory-profit-flow__loss {
  background: #888988;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}

.inventory-control-compare {
  margin-top: 42px;
}


.scene-page #sub-nav-cta-bottom {
  position: relative;
  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;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: .75em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-page #sub-nav-cta-bottom .cta_buttons ul.buttons > li {
  margin: 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;
  border-radius: 6px;
  font-size: 1.5em;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.scene-page #sub-nav-cta-bottom .icon_wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
}

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

.scene-page #sub-nav-cta-bottom .main_text {
  font-size: .95em;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.scene-page #sub-nav-cta-bottom .sub_text {
  font-size: .8em;
  font-weight: 400;
  letter-spacing: .5px;
  opacity: .8;
  white-space: nowrap;
}

.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: 979px) {
  .inventory-profit-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    max-width: 760px;
  }
}

@media screen and (max-width: 736px) {
  .inventory-control-pain-grid,
  .inventory-profit-flow {
    grid-template-columns: 1fr;
  }

  .inventory-profit-flow {
    max-width: 520px;
    gap: 28px;
  }

  .inventory-profit-flow__set {
    display: flex;
    gap: 16px;
  }

  .inventory-profit-flow__arrow {
    transform: rotate(-90deg);
  }

  .inventory-profit-flow__cause,
  .inventory-profit-flow__loss {
    min-height: 58px;
    font-size: 16px;
  }

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

  .scene-page #sub-nav-cta-bottom .cta_buttons .button {
    width: 100%;
    min-width: 0;
  }
}
