/* 製品紹介ページ */

/* カテゴリタブ */
.products { padding: clamp(40px, 5vw, 56px) 0 var(--sec-pad); }
.cat-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 2px solid var(--line);
}
.cat-tab {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 8px;
  margin-bottom: -2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cat-tab:hover { color: var(--pink); }
.cat-tab.is-active { color: var(--ink); border-bottom-color: var(--pink); }
.cat-tab:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; border-radius: 4px; }

/* タブパネル */
.prod-panel { padding-top: clamp(48px, 6vw, 80px); }
.prod-panel[hidden] { display: none; }
.prod-panel .sec-head .eyebrow { color: var(--gray); }

/* 製品カード */
.prod-grid {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(40px, 5vw, 56px) clamp(16px, 2vw, 24px);
}
.prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 260px);
  text-align: center;
  color: var(--ink);
  transition: transform 0.3s ease;
}
a.prod-card:hover { transform: translateY(-4px); }
.prod-thumb {
  width: 220px;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; }
.prod-name {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}
.prod-desc {
  margin-top: 12px;
  width: 100%;
  max-width: 230px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-align: left;
}
.prod-more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--pink);
  display: inline-flex; align-items: center; gap: 8px;
}
.prod-more::after {
  content: "";
  width: 22px; height: 1px;
  background: var(--pink);
  transition: width 0.3s ease;
}
a.prod-card:hover .prod-more::after { width: 34px; }

/* 健回炉Tera専用サイト バナー（温熱関連）: 写真＋テキストを HTML で組み、幅いっぱい・高さ 300px 前後 */
.tera-banner {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  margin: clamp(56px, 7vw, 96px) auto 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(47, 43, 54, 0.10);
  background: linear-gradient(135deg, #fff7f9 0%, #fdeef3 100%);
  color: var(--ink);
  isolation: isolate;
}
.tera-banner-photo { position: relative; min-height: 300px; overflow: hidden; background: #fdeef3; }
.tera-banner-photo img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); object-fit: cover; transform-origin: center; transition: transform 0.8s ease; will-change: transform; backface-visibility: hidden; }
.tera-banner-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(253, 238, 243, 0) 70%, #fdeef3 100%);
}
.tera-banner:hover .tera-banner-photo img { transform: scale(1.04); }
.tera-banner-body {
  position: relative;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.tera-banner-body::before {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 58, 107, 0.12) 0%, rgba(245, 58, 107, 0) 70%);
  pointer-events: none;
}
.tera-banner-body .eyebrow { color: var(--pink); font-size: 12px; }
.tera-banner-body .wave { width: 72px; height: 8px; margin: 10px auto 0; }
.tera-banner-title {
  margin-top: 18px;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.tera-banner-sub {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--gray);
}
.tera-banner-btn {
  margin-top: 26px;
  min-width: 280px;
  box-shadow: 0 8px 20px rgba(245, 58, 107, 0.25);
}
.tera-banner:hover .tera-banner-btn { background: var(--pink-deep); transform: translateY(-2px); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .tera-banner:hover .tera-banner-photo img { transform: none; }
  .prod-card { width: min(100%, 230px); }
  .prod-thumb { width: 190px; height: 190px; }
  .tera-banner { grid-template-columns: 1fr; }
  .tera-banner-photo { min-height: 0; aspect-ratio: 16 / 7; }
  .tera-banner-photo::after { background: linear-gradient(180deg, rgba(253, 238, 243, 0) 70%, #fdeef3 100%); }
}
@media (max-width: 760px) {
  .cat-tab { padding: 13px 2px; font-size: 13px; letter-spacing: 0.04em; }
  .prod-grid { gap: 40px 16px; }
  .prod-card { width: calc(50% - 8px); }
  .prod-thumb { width: 140px; height: 140px; }
  .prod-name { margin-top: 16px; font-size: 16px; letter-spacing: 0.08em; }
  .prod-desc { margin-top: 8px; font-size: 13px; line-height: 1.85; letter-spacing: 0.03em; }
  .prod-more { padding-top: 12px; }
  .products { padding-top: 28px; }
  .prod-panel { padding-top: 40px; }
  .tera-banner { border-radius: 14px; }
  .tera-banner-photo { aspect-ratio: 16 / 9; }
  .tera-banner-body { padding: 28px 22px 32px; }
  .tera-banner-title { font-size: 22px; }
  .tera-banner-sub { font-size: 13px; letter-spacing: 0.06em; }
  .tera-banner-btn { width: 100%; min-width: 0; margin-top: 20px; }
}
@media (max-width: 400px) {
  .cat-tab { font-size: 12px; }
}
