/* プロダクト事業の共通紹介と製品一覧。共通デザインの変数を使用する。 */
.product-business-visual { background: var(--blue-pale); color: var(--blue); font-family: var(--font-en); font-size: clamp(32px, 4vw, 56px); font-weight: 500; letter-spacing: -.03em; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product-list .product-card { display: flex; flex-direction: column; width: 100%; max-width: none; min-width: 0; margin: 0; padding: clamp(24px, 3vw, 40px); background: transparent; }
.product-card .article-head h2 { font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; line-height: 1.5; }
.product-card .prose { display: flex; flex-direction: column; flex: 1; }
.product-card .product-actions { margin-top: auto; padding-top: 28px; }
.product-card .article-hero { flex: none; }
.product-card .product-logo-hero { background: #fff; }
.product-card .imalog-logo-hero img { width: 100%; height: 100%; object-fit: contain; }
.product-card .product-actions .btn-pill { text-decoration: none; }
.product-card .prose p { overflow-wrap: anywhere; }
.product-cases { margin-top: 64px; }
.product-cases h2 { font-size: 24px; line-height: 1.6; }
@media (max-width: 767px) {
  .product-list { grid-template-columns: 1fr; gap: 24px; }
  .product-cases { margin-top: 48px; }
}

/* トップページ: ローカルLLMのデモカードと共通の画像・テキスト配置 */
.home-product-card { display: flex; flex-direction: column; color: var(--ink); }
.home-product-card .home-product-logo { display: grid; place-items: center; background: var(--surface); }
.home-product-logo img { display: block; width: 84%; height: 84%; object-fit: contain; }
.home-product-card[href="/imalog/"] .home-product-logo img { transition: transform 250ms ease-out; }
@media (hover: hover) and (pointer: fine) {
  .home-product-card[href="/imalog/"]:hover .home-product-logo img { transform: scale(1.07); }
}
.home-product-card[href="/imalog/"]:focus-visible .home-product-logo img { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .home-product-card[href="/imalog/"] .home-product-logo img { transition: none; }
  .home-product-card[href="/imalog/"]:hover .home-product-logo img,
  .home-product-card[href="/imalog/"]:focus-visible .home-product-logo img { transform: none; }
}
.home-product-soon-label { font-family: var(--font-en); font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; color: var(--blue); text-align: center; text-wrap: balance; }
.home-product-card h4 { text-wrap: balance; }
.home-product-card p { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.home-product-link { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--blue); }
.home-product-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.home-product-copy { min-width: 0; }
@media (max-width: 720px) {
  .home-product-card p, .home-product-link { font-size: 13px; }
}
