/* =============================================
   インプラス TOPページ コンテンツ  css/page-top.css
   index.html 専用（ヒーロー・ヘッダー以外）
   ============================================= */

/* ── コンテンツエリア ── */
#wraper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  padding: 32px;
}

/* ── 2カラムレイアウト ── */
.top-columns {
  display: grid;
  gap: 40px;
  align-items: start;
  /* PCでの列数は layout-pc.css で定義 */
}

/* ── リードテキスト ── */
.top-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
  padding: 0;
  line-height: 1.9;
}

/* ── 製品カードグリッド ── */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ── お知らせリスト ── */
.news-list h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 1.2em 0 0.3em;
  padding: 0.25em 0.75em;
  border-left: 4px solid var(--accent);
  background: var(--light);
  color: var(--navy);
}

.news-list p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0 0 0 1em;
  padding: 0;
  line-height: 1.7;
}

/* ── サイドバー（rbox） ── */
.rbox {
  float: none; /* layout-pc.css のグリッドで制御 */
}

/* ── バナー群 2列グリッド ── */
.rbox-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.rbox-badges img {
  width: 100%;
  height: auto;
  margin: 0;
}

/* ── サイドバー内リンク ── */
.rbox-links {
  font-size: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.rbox-links a {
  display: block;
  color: var(--blue);
  padding: 2px 0;
}
