/* ============================================================
   product.css — 製品詳細ページ共通スタイル
   メインカラー: #01366b  アクセント: #f97316
   ============================================================ */

/* ---- パンくずリスト ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.2rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #f97316; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ---- 製品ヒーロー ---- */
.product-hero {
  position: relative;
  background: #01366b;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.product-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #01366b 0%, #01254e 60%, #0a1a30 100%);
  z-index: 0;
}
.product-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.12) 0%, transparent 60%);
}
.product-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.product-type-label {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .15em;
  color: #f97316;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.4);
  padding: .25rem .75rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.product-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0 0 .4rem;
}
.product-hero-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f97316;
  margin: 0 0 1rem;
}
.product-hero-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin: 0 0 1.5rem;
}
.product-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.badge-cert {
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: .3rem .8rem;
  border-radius: 20px;
}
.product-hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.08);
  border: 2px dashed rgba(255,255,255,.25);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  gap: .4rem;
}
.product-hero-img-placeholder small {
  font-size: .75rem;
  font-weight: 400;
}

/* ---- 特徴バッジ一覧 ---- */
.feature-badges-section {
  background: #f4f7fb;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.feature-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.feature-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  min-width: 80px;
}
.feature-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
.fb-red    { background: #e53e3e; }
.fb-navy   { background: #01366b; }
.fb-orange { background: #f97316; }
.feature-badge-item span {
  font-size: .7rem;
  color: #4a5568;
  text-align: center;
  line-height: 1.3;
}

/* ---- 製品詳細セクション ---- */
.product-detail-section {
  padding: 5rem 0;
  background: #fff;
}
.product-detail-section--alt {
  background: #f4f7fb;
}
.product-detail-header {
  margin-bottom: 2.5rem;
}
.product-detail-label {
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  letter-spacing: .15em;
  color: #f97316;
  margin-bottom: .5rem;
}
.product-detail-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #01366b;
  line-height: 1.1;
}
.product-detail-sub-title {
  font-size: 1rem;
  font-weight: 600;
  color: #4a5568;
  font-family: 'Noto Sans JP', sans-serif;
  margin-left: .75rem;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
.product-detail-layout--reverse {
  direction: rtl;
}
.product-detail-layout--reverse > * {
  direction: ltr;
}

.product-detail-img-area {
  position: sticky;
  top: 90px;
}
.product-detail-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e8edf5;
  border: 2px dashed #b0bec5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #90a4ae;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  gap: .4rem;
}
.product-detail-img-placeholder small {
  font-size: .75rem;
  font-weight: 400;
}
.product-detail-img-note {
  margin-top: .75rem;
  font-size: .78rem;
  color: #718096;
  line-height: 1.7;
}

/* ---- 特長ブロック ---- */
.feature-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.feature-block:first-of-type { border-top: 1px solid #e2e8f0; }
.feature-label-tag {
  flex-shrink: 0;
  width: 72px;
  padding: .5rem .25rem;
  background: #01366b;
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  text-align: center;
  border-radius: 4px;
  letter-spacing: .05em;
}
.feature-content p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
  color: #374151;
}

/* PSK Jr バッジ */
.pskjr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.pskjr-badge {
  font-size: .75rem;
  font-weight: 700;
  color: #01366b;
  background: #e8f0fb;
  border: 1px solid #b8d0f0;
  padding: .3rem .8rem;
  border-radius: 20px;
}

/* 猛暑対策ボックス */
.heat-measure-box {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.heat-measure-img-wrap { flex-shrink: 0; }
.heat-measure-img-placeholder {
  width: 120px;
  aspect-ratio: 3/4;
  background: #f0f4f8;
  border: 2px dashed #b0bec5;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #90a4ae;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  gap: .3rem;
}
.heat-measure-img-placeholder small { font-size: .65rem; font-weight: 400; }
.heat-measure-title {
  font-weight: 700;
  color: #01366b;
  margin-bottom: .5rem;
  font-size: .95rem;
}
.heat-measure-text p {
  font-size: .85rem;
  line-height: 1.75;
  color: #374151;
  margin: 0 0 .5rem;
}
.heat-measure-note {
  font-size: .75rem !important;
  color: #718096 !important;
}

/* ---- 仕様表 ---- */
.spec-table-wrap {
  margin-top: 2rem;
}
.spec-table-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #01366b;
  margin-bottom: 1rem;
  padding-left: .75rem;
  border-left: 4px solid #f97316;
}
.spec-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .85rem;
}
.spec-table th {
  background: #01366b;
  color: #fff;
  padding: .65rem .85rem;
  text-align: center;
  font-weight: 700;
  border: 1px solid #01254e;
  white-space: nowrap;
}
.spec-table th small {
  font-size: .7rem;
  font-weight: 400;
  display: block;
  opacity: .8;
}
.spec-table td {
  padding: .65rem .85rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  color: #374151;
  background: #fff;
  vertical-align: middle;
}
.spec-table tbody tr:nth-child(even) td { background: #f8fafc; }
.spec-table .model-no {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #01366b;
  font-size: .95rem;
}
.spec-table .weight {
  font-weight: 700;
  color: #f97316;
}
.spec-table .color-cell {
  font-weight: 600;
}
.spec-note {
  font-size: .78rem;
  color: #718096;
  margin-top: .6rem;
  line-height: 1.7;
}

/* ---- 品質性能試験 ---- */
.quality-section {
  padding: 5rem 0;
  background: #01366b;
}
.quality-section .section-label { color: rgba(255,255,255,.5); }
.quality-section .section-title { color: #fff; }
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.quality-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: background .2s;
}
.quality-card:hover { background: rgba(255,255,255,.13); }
.quality-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.quality-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: .75rem;
}
.quality-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin: 0;
}

/* ---- 用途セクション ---- */
.usecase-section {
  padding: 5rem 0;
  background: #fff;
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.usecase-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(1,54,107,.08);
  transition: transform .2s, box-shadow .2s;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(1,54,107,.14);
}
.usecase-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8edf5;
  border-bottom: 2px dashed #b0bec5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90a4ae;
  font-size: 1rem;
  font-weight: 700;
}
.usecase-body {
  padding: 1.25rem;
}
.usecase-title {
  font-size: 1rem;
  font-weight: 700;
  color: #01366b;
  margin-bottom: .5rem;
}
.usecase-body p {
  font-size: .85rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

/* ---- オプションセクション ---- */
.option-section {
  padding: 4rem 0;
  background: #f4f7fb;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.option-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.option-card:hover {
  border-color: #01366b;
  box-shadow: 0 4px 16px rgba(1,54,107,.1);
}
.option-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #01366b;
  margin-bottom: .4rem;
}
.option-desc {
  font-size: .82rem;
  color: #4a5568;
  line-height: 1.5;
}

/* ---- CTAのセカンダリボタン ---- */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 6rem 0 3rem;
  }
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-hero-img {
    order: -1;
  }
  .product-hero-img-placeholder {
    aspect-ratio: 16/9;
  }

  .product-detail-layout,
  .product-detail-layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .product-detail-img-area {
    position: static;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }
  .quality-grid {
    grid-template-columns: 1fr 1fr;
  }
  .option-grid {
    grid-template-columns: 1fr 1fr;
  }
  .heat-measure-box {
    flex-direction: column;
  }
  .heat-measure-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .feature-badges-grid {
    gap: .75rem;
  }
}

@media (max-width: 480px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
}
