/* =========================================================
  Products Section CSS（#products専用 / 最終安定版）
========================================================= */

/* ====== smooth scroll ====== */
html{ scroll-behavior:smooth; }

/* 固定ヘッダー分のオフセット */
#cat-meter,
#cat-instvalve,
#cat-pipe,
#cat-valve,
#cat-vessel,
#cat-electro,
#cat-pump{
  scroll-margin-top: 110px;
}

/* =========================================================
   Select an item
========================================================= */
.pageSec#products .selectBox{
  margin-top: calc(var(--space-50) * 1.6);
}

.pageSec#products .selectTitle{
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(0,0,0,.22);
  margin-bottom: 28px;
}

.pageSec#products .selectGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.pageSec#products .selectBtn{
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  min-height: 56px;
  padding: 10px 12px;
  background:#fff;
  border: 2px solid #111;
  position:relative;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.pageSec#products .selectBtn .jp{
  font-size: 16px;
  font-weight: 700;
}

.pageSec#products .selectBtn .en{
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.5);
}

.pageSec#products .selectBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  background: #f7f7f7;
}

/* =========================================================
   Products 本文（左右交互）
========================================================= */
.pageSec#products .busiRow{
  display:flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 28px;
  margin-top: calc(var(--space-50) * 2);
}

.pageSec#products .busiRow.is-reverse{
  flex-direction: row-reverse;
}

.pageSec#products .busiRow .headLineDiv{
  width: 50%;
}

.pageSec#products .busiRow .busiMedia{
  width: 45%;
  aspect-ratio: 4 / 3;   /* ★縮んでも破綻しない */
  overflow: hidden;
  border-radius: 2px;
}
/* =========================================================
   4分割グリッド（最重要）
========================================================= */
.pageSec#products .busiGrid4{
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

/* 画像は常に「全体表示」で固定（動かさない） */
.pageSec#products .busiGrid4 .tile{
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;     /* ← 常に全体が見える */
  background-color: transparent; /* 余白色いらなければ */
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width:1025px){
  .pageSec#products .selectTitle{ font-size: 36px; }

  .pageSec#products .selectGrid{
    grid-template-columns: repeat(2, 1fr);
  }

  .pageSec#products .busiRow,
  .pageSec#products .busiRow.is-reverse{
    flex-direction: column-reverse;
  }

  .pageSec#products .busiRow .headLineDiv,
  .pageSec#products .busiRow .busiMedia{
    width: 100%;
  }
}

@media (max-width:600px){
  .pageSec#products .selectGrid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   計器（INSTRUMENTS）画像
========================================================= */
.pageSec#products .busiGrid4--meter .t1{
  background-image: url("../images/page-service/ball_valve_01.jpg");
}
.pageSec#products .busiGrid4--meter .t2{
  background-image: url("../images/page-service/butterfly_valve_01.jpg");
}
.pageSec#products .busiGrid4--meter .t3{
  background-image: url("../images/page-service/butterfly_valve_02.jpg");
}
.pageSec#products .busiGrid4--meter .t4{
  background-image: url("../images/page-service/inst_valve_01.jpg");
}
