/* ============================================================
   研究用AIロボット製品ページ
   ページ固有の構造だけを定義し、共通UIは site.css を利用する。
   ============================================================ */

.product-page-hero {
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 178, 188, 0.16), transparent 34%),
    linear-gradient(180deg, #f4fbfe 0%, #ffffff 100%);
}

.product-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.product-page-hero h1 {
  max-width: 820px;
}

.selection-note {
  padding: 30px;
  border: 1px solid #cce3ec;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(11, 49, 67, 0.10);
}

.selection-note h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.25;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  background: #f3f9fc;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: #009ad2;
  font-weight: 900;
}

.category-priority-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}

.priority-category {
  min-height: 210px;
  padding: 24px;
  border: 1px solid #d9e5ea;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(11, 49, 67, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.priority-category:hover {
  transform: translateY(-3px);
  border-color: #9fd4e6;
}

.priority-category-main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 436px;
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(0, 178, 188, 0.96), rgba(0, 105, 181, 0.96));
}

.priority-category-main .card-index,
.priority-category-main p {
  color: rgba(255, 255, 255, 0.84);
}

.priority-category h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.priority-category p {
  margin: 0;
  color: #667d88;
}

.priority-category strong {
  display: inline-flex;
  margin-top: 24px;
}

.product-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #cbdde5;
  border-radius: 999px;
  color: #173342;
  background: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: #ffffff;
  border-color: #009ad2;
  background: #009ad2;
}

.product-lineup-grid {
  align-items: stretch;
}

.research-product-card {
  display: flex;
  flex-direction: column;
}

.research-product-card[hidden] {
  display: none;
}

.research-product-card .product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.research-product-card .product-visual img {
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(145deg, #f5fcff, #e6f6fb);
}

.image-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #536d79;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 800;
}

.status-preparing,
.status-researching {
  color: #735600;
  background: #fff4cc;
}

.product-summary {
  min-height: 5.2em;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.feature-list span {
  padding: 9px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  color: #34515f;
  background: #f8fbfc;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-condition-meta {
  margin-top: 16px;
}

.use-labels {
  min-height: 3.2em;
  font-size: 0.82rem;
}

.product-note {
  margin-top: 12px !important;
  padding: 10px 12px;
  border-left: 3px solid #f2b705;
  color: #665119 !important;
  background: #fffaf0;
  font-size: 0.76rem;
}

.product-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}

.product-card-actions .product-link {
  margin-top: 0;
}

.product-consult-link {
  color: #173342;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-disclaimer {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-left: 4px solid #009ad2;
  color: #5d747e;
  background: #ffffff;
  font-size: 0.84rem;
}

.comparison-axis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.comparison-axis-grid article {
  padding: 24px;
  border-top: 3px solid #009ad2;
  border-radius: 0 0 16px 16px;
  background: #f4f9fb;
}

.comparison-axis-grid article span {
  color: #009ad2;
  font-size: 0.78rem;
  font-weight: 900;
}

.comparison-axis-grid h3 {
  margin: 20px 0 8px;
}

.comparison-axis-grid p {
  margin: 0;
  color: #667d88;
}

.compact-dark-cta {
  padding: 56px 0;
}

.contact-panel-dark {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}

.contact-panel-dark h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-panel-dark p:not(.eyebrow) {
  color: #c6dbe4;
}

.light-button {
  flex: 0 0 auto;
  color: #0b3143;
  background: #ffffff;
}

@media (max-width: 980px) {
  .product-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .category-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-category-main {
    grid-column: span 2;
    grid-row: auto;
    min-height: 300px;
  }

  .comparison-axis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-page-hero {
    padding: 42px 0 44px;
  }

  .product-page-hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.5rem);
  }

  .selection-note {
    padding: 22px;
  }

  .category-priority-grid {
    grid-template-columns: 1fr;
  }

  .priority-category,
  .priority-category-main {
    grid-column: auto;
    min-height: auto;
    padding: 20px;
  }

  .priority-category-main {
    min-height: 250px;
  }

  .product-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .product-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .feature-list,
  .comparison-axis-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-summary,
  .use-labels {
    min-height: auto;
  }

  .product-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-panel-dark {
    align-items: stretch;
    flex-direction: column;
  }
}