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

/* ==========================================================================
   1. お悩み一覧
   ========================================================================== */

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

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

/* ==========================================================================
   2. 従来とRFIDの探索比較
   ========================================================================== */

.search-comparison {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(360px, .95fr);
  gap: 28px;
  align-items: start;
  margin-top: 42px;
}

.search-flow {
  min-width: 0;
}

.search-flow__title {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 62px;
  margin: 0 0 22px !important;
  padding: 12px 18px !important;

  color: #fff !important;
  text-align: center;
  font-size: 26px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
}

.search-flow--old .search-flow__title {
  background: #303233;
}

.search-flow--rfid .search-flow__title {
  background: #a78b00;
}

.search-flow__steps {
  display: flex;
  flex-direction: column;

  margin: 0;
  padding: 0;

  list-style: none;
}

.search-flow__step {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 62px;
  margin: 0;
  padding: 12px 18px;

  text-align: center;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  list-style: none;
}

.search-flow--old .search-flow__step {
  background: #858585;
  color: #fff;
}

.search-flow--rfid .search-flow__step {
  background: #fff9df;
  color: #2f3440;
}

.search-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  margin: 0;

  list-style: none;
}

.search-flow__arrow i {
  font-size: 34px;
  line-height: 1;
}

.search-flow--old .search-flow__arrow {
  color: #1f2536;
}

.search-flow--rfid .search-flow__arrow {
  color: #b99700;
}

.search-comparison__visual {
  margin: 0;
  overflow: hidden;
  background: #d9dde4;
}

.search-comparison__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 494px;
  object-fit: cover;
}

/* ==========================================================================
   3. FAQ内リンク
   ========================================================================== */

.search-faq-link {
  margin-top: 18px !important;
}

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

/* ==========================================================================
   4. 下部CTA
   ========================================================================== */

.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;
  box-sizing: border-box;
}

.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;
}

/* ==========================================================================
   5. Responsive
   ========================================================================== */

@media screen and (max-width: 979px) {
  .search-comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-comparison__visual {
    grid-column: 1 / -1;
  }

  .search-comparison__visual img {
    display: none;
  }

  .search-flow__title {
    font-size: 22px !important;
  }

  .search-flow__step {
    font-size: 18px;
  }
}

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

  .search-comparison {
    gap: 60px;
  }

  .search-comparison__visual {
    grid-column: auto;
  }

  .search-comparison__visual img {
    min-height: 260px;
  }

  .search-flow__title {
    min-height: 54px;
    margin-bottom: 16px !important;
    font-size: 20px !important;
  }

  .search-flow__step {
    min-height: 54px;
    font-size: 17px;
  }

  .search-flow__arrow {
    min-height: 42px;
  }

  .search-flow__arrow i {
    font-size: 28px;
  }

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

  .scene-page #sub-nav-cta-bottom .cta_buttons .button {
    min-width: 230px;
    padding: 2em 1em;
    font-size: 1em;
  }
}
