/* =========================================================
   Glue Gun Page: Header & Pickup
   ========================================================= */

/* --- 1. Page Header (Fluid Dark Navy) --- */
.pg-header {
  position: relative;
  background-color: var(--c-navy);
  color: #fff;
  /* ★修正：さらに詰める */
  padding: 32px 0 48px;
  overflow: hidden;
  /* ★追加：高さの最小値をなくし、コンテンツなりにする */
  min-height: auto;
  min-block-size: clamp(240px, 32svh, 380px);
}

/* 背景グラデーション（トップページと共通の世界観） */
.pg-header__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1d2b 0%, #163b55 100%);
  z-index: 0;
}

/* うっすら光るエフェクト */
.pg-header__bg::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
  transform: rotate(15deg);
}

.pg-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-block-size: inherit;
}

.pg-header__content {
  max-width: 600px;
  padding-top: 18px;
}

.pg-header__title .en {
  display: block;
  font-size: 0.9rem;
  color: var(--c-orange);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.pg-header__title .ja {
  font-size: clamp(1.8rem, 3vw, 2.4rem); /* 文字サイズも少し調整 */
  font-weight: 800;
  line-height: 1.2;
}

.pg-header__lead {
  margin-top: 16px;
  font-size: 0.95rem; /* リード文も少し小さく */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  min-block-size: calc(1em * 1.6 * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3; /* 表示上限 */
  overflow: hidden;
}
/* SVGエリア */
.pg-header__visual {
  width: 360px;
  opacity: 0.9;
  /* 必要に応じてアニメーションなどを追加 */
  overflow: hidden;
  block-size: clamp(180px, 24svh, 300px);
  align-self: center;
}

.pg-header__visual svg,
.pg-header__visual img,
.pg-header__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.pg-header__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ カットしたいなら cover */
  object-position: center; /* 必要なら 50% 40% とかで微調整 */
  display: block;
  opacity: 0.7;
}

.pg-header__visual svg {
  height: 100%;
  width: 100%;
}

.pg-header__visual .cls-1 {
  stroke: #fff;
}

/* 下部のカーブ（S字の始点） */
.pg-header__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #f4f8fb;
  /* 次のセクションの背景色 */
  /* 左上がりのカーブ */
  border-radius: 100% 0 0 0 / 100% 0 0 0;
  z-index: 1;
}

/* --- 2. Top Pickup Section (Premium Showcase) --- */
.sec-pickup {
  /* グラデーションで「S字の谷」を表現 */
  background: linear-gradient(180deg, #f4f8fb 0%, #fff 100%);
  padding: 0;
  position: relative;
  z-index: 2;
}

.pickup-header {
  text-align: center;
  margin-bottom: 16px;
}

.pickup-title {
  font-family: "Helvetica Neue", Arial, sans-serif; /* 英字をかっこよく */
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--c-navy), #2980b9);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.pickup-title .sub {
  display: block;
  font-size: 1rem;
  color: var(--c-orange);
  margin-bottom: 8px;
  font-weight: 700;
}

.pickup-desc {
  margin-top: 16px;
  color: #666;
  font-size: 1rem;
}

/* Pickup Grid */
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* Card Style */
.pickup-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14, 47, 71, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border: 1px solid transparent;
}

.pickup-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(14, 47, 71, 0.15);
}

/* Best Seller Special Styling */
.pickup-card--best {
  border: 2px solid var(--c-orange);
  /* 強調枠線 */
  transform: scale(1.05);
  /* 少し大きくして真ん中を目立たせる（グリッド順序注意） */
  z-index: 2;
}

.pickup-card--best:hover {
  transform: scale(1.05) translateY(-8px);
}

.pickup-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.pickup-card__visual {
  background: #fff;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.pickup-card__visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.pickup-card:hover .pickup-card__visual img {
  transform: scale(1.05);
}

/* ベストセラーは少し豪華に */
.pickup-card--best .pickup-card__visual {
  background: radial-gradient(
    circle at center,
    #fff 30%,
    #fff8f0 70%
  ); /* ほんのりオレンジ */
}

/* Badges */
.pickup-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.badge-best {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(233, 119, 48, 0.4);
}

.badge-standard {
  background: var(--c-navy);
  color: #fff;
}

.badge-unique {
  background: #6c5ce7;
  color: #fff;
}

.pickup-card__body {
  padding: 12px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 10px;
  margin-top: 0;
}

.catch-copy {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.spec-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.spec-tag {
  font-size: 0.8rem;
  background: #eee;
  padding: 4px 8px;
  border-radius: 4px;
  color: #555;
  font-weight: 600;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--c-link);
  font-size: 0.95rem;
  margin-top: auto;
  transition: gap 0.2s;
}

.pickup-card:hover .btn-more {
  gap: 12px;
  color: var(--c-orange);
}

/* --- Responsive (SP) --- */
@media screen and (max-width: 900px) {
  .pg-header {
    padding: 40px 20px 80px;
  }

  .pg-header__inner {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .pg-header__visual {
    display: none;
    /* スマホではSVG非表示で軽量化 */
  }

  /* SVGを表示させる */
  .pg-header__visual {
    display: block;
    /* noneから変更 */
    position: absolute;
    top: 20%;
    right: -10%;
    /* 画面端から少しはみ出させる */
    width: 80%;
    /* 画面の8割くらいを覆う */
    max-width: 400px;
    opacity: 0.15;
    /* ★重要：文字の邪魔にならない薄さに */
    z-index: 0;
    pointer-events: none;
    transform: rotate(-10deg);
    /* 動きをつける */
  }

  /* SVGの色設定（念のためSPでも強制適用） */
  .pg-header__visual svg .cls-1 {
    stroke: #fff;
  }

  /* テキストをSVGの上に持ってくる */
  .pg-header__content {
    position: relative;
    z-index: 2;
  }

  .pickup-grid {
    grid-template-columns: 1fr;
    /* 1カラム */
    gap: 24px;
    padding: 0 20px;
  }

  .pickup-card--best {
    transform: none;
    /* 拡大解除 */
    order: -1;
    /* ベストセラーを一番上に */
  }

  .pickup-card--best:hover {
    transform: translateY(-5px);
  }

  .pickup-card__visual {
    height: 200px;
    padding: 20px;
  }
}

/* =========================================================
   3. Control Board & Product Stream (Fixed & Enhanced)
   ========================================================= */

/* セクション全体：はみ出し防止の鉄則 */
.sec-products {
  position: relative;
  padding: 0;
  z-index: 1;
  width: 100%;
  /* 幅を確定 */
  overflow: hidden;
  /* ★重要：これではみ出し背景をカット */
  background: transparent;
}

/* 背景S字シェイプ（修正版：より有機的に） */
.products-bg-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.products-bg-flow::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 80%;
  height: 1200px; /* 長く伸ばす */
  background: #f0f6fc; /* 薄い青グレー */
  /* S字カーブを作る */
  border-radius: 40% 60% 30% 70% / 50% 30% 70% 50%;
  transform: rotate(-15deg);
  filter: blur(40px); /* 境界をぼかして「空気」にする */
  opacity: 0.8;
}

/* --- Sticky Control Board (Improved) --- */
.sort-control-board {
  position: sticky;
  top: 70px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.95);
  /* 透過を減らして文字を見やすく */
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 12px 24px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  /* 左右に配置 */
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  /* Flex子要素の縮小許可 */
}

.control-label {
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 並び替えボタン群（スクロール対応） */
.sort-btns-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  /* SPではみ出たらスクロール */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefoxスクロールバー消し */
}

.sort-btns-scroll::-webkit-scrollbar {
  display: none;
}

/* Chromeスクロールバー消し */

.sort-btn {
  appearance: none;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--c-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-weight: 500;
  flex-shrink: 0;
  /* 縮小させない */
}

.sort-btn:hover {
  background: var(--c-bg-blue);
  color: var(--c-navy);
}

.sort-btn.active {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}

/* 表示切替ボタン群 */
.view-btns {
  display: flex;
  background: #f0f4f8;
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}

.view-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-muted);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.view-btn:hover {
  color: var(--c-navy);
}

.view-btn.active {
  background: #fff;
  color: var(--c-navy);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   Product List Stream (Switchable Grid)
   ========================================================= */
.product-list-stream {
  display: grid;
  gap: 32px;
  transition: all 0.3s ease;
}

/* ========== MODE 1: 詳細比較ビュー（2カラム） ========== */
.product-list-stream.view-detail {
  grid-template-columns: repeat(2, 1fr);
}
/* 詳細モードでは説明文を表示 */
.view-detail .prod-desc {
  display: -webkit-box;
}

/* ========== MODE 2: 一覧確認ビュー（PC4カラム / SP2カラム） ========== */
/* ★変更：PCでは4列 */
.product-list-stream.view-compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* コンパクトモード共通（PC/SP）のスタイル調整 */
.view-compact .prod-card__link {
  flex-direction: column; /* 画像上、情報下 */
  height: auto;
}
.view-compact .prod-card__visual {
  width: 100%;
  height: 150px; /* 画像エリア高さを圧縮 */
  border-right: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 10px;
}
.view-compact .prod-card__info {
  padding: 12px 16px 16px; /* パディングを詰める */
  flex: 0;
}
.view-compact .prod-name {
  font-size: 0.95rem; /* 型番文字サイズを少し小さく */
  margin-bottom: 8px;
}
.view-compact .successor-alert {
  font-size: 0.65rem;
}

/* ★重要：コンパクト時は「重量(3番目)」「温度(4番目)」と「説明文」を隠す */
.view-compact .spec-item:nth-child(3),
.view-compact .spec-item:nth-child(4),
.view-compact .prod-desc {
  display: none;
}

/* コンパクト時のスペック表レイアウト調整 */
.view-compact .prod-spec-grid {
  /* 2つのスペックを横並びにするか、縦に積むか */
  grid-template-columns: 1fr 1fr; /* 横並び維持 */
  gap: 4px 8px; /* 隙間を詰める */
  margin-bottom: 8px;
}
.view-compact .spec-label {
  font-size: 0.6rem;
}
.view-compact .spec-value {
  font-size: 0.8rem;
}
/* コンパクト時のボタン調整 */
.view-compact .btn-arrow-text {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 8px;
  color: var(--c-muted);
}

/* --- Common Card Style --- */
.prod-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px; /* 少し角丸を小さく */
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.prod-card.is-discontinued {
  background: #f9f9f9;
  opacity: 0.9;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(14, 47, 71, 0.1);
  border-color: var(--c-link);
}

.prod-card__link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Visual Area */
.prod-card__visual {
  flex: 0 0 40%;
  position: relative;
  /*background: #fff;*/
  border-right: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prod-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.prod-card:hover .prod-img-box img {
  transform: scale(1.08);
}

/* Badges */
.prod-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: #fff;
}
.badge--gray {
  background: #999;
}
.badge--video {
  background: #e60012;
}

/* Info Area */
.prod-card__info {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.prod-header {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--c-bg-blue);
  padding-bottom: 6px;
}
.prod-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.3;
  margin: 0;
}
.successor-alert {
  display: block;
  font-size: 0.7rem;
  color: #e60012;
  margin-top: 2px;
  font-weight: 700;
}

.prod-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.65rem;
  color: #888;
  margin-bottom: 1px;
}
.spec-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
}
.spec-value small {
  font-size: 0.7rem;
  font-weight: normal;
  margin-left: 2px;
}
.value-output {
  color: var(--c-orange);
}

.prod-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-arrow-text {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-link);
  text-align: right;
  display: block;
}

/* =========================================================
   SP Responsive (Mobile 2-Column Mode)
   ========================================================= */
@media screen and (max-width: 768px) {
  .sort-control-board {
    top: 60px;
    margin: 0 -20px 30px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 10px 16px;
  }

  /* ★重要：SPでは強制的に2カラム＆コンパクトスタイルを適用 */
  .product-list-stream,
  .product-list-stream.view-compact,
  .product-list-stream.view-detail {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important; /* 隙間を詰めて画面有効活用 */
  }

  /* カードの中身も強制的にコンパクトスタイルにする */
  .prod-card__link {
    flex-direction: column !important;
  }
  .prod-card__visual {
    width: 100% !important;
    height: 140px !important; /* 画像高さを少し確保 */
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 10px !important;
  }
  .prod-card__info {
    padding: 12px 10px !important; /* 横幅が狭いのでパディング削減 */
  }
  .prod-name {
    font-size: 0.85rem !important; /* 型番がはみ出ないように */
  }

  /* SPでは常に重量・温度・説明文を隠す */
  .spec-item:nth-child(3),
  .spec-item:nth-child(4),
  .prod-desc {
    display: none !important;
  }

  /* スペック表の調整（狭いので縦積みに崩れないよう注意） */
  .prod-spec-grid {
    grid-template-columns: 1fr !important; /* スペックも1列にして縦に積む方が安全かも */
    gap: 6px !important;
  }
  .spec-item {
    flex-direction: row; /* ラベルと値を横並びに */
    align-items: baseline;
    justify-content: space-between;
  }
  .spec-label {
    margin-right: 6px;
  }

  .btn-arrow-text {
    font-size: 0.7rem !important;
    text-align: center !important;
    margin-top: 8px !important;
  }
  .u-pc-only-flex {
    display: none;
  }
}

/* =========================================================
   4. Specialty Section (Colorful & Distinct)
   ========================================================= */

.specialty-section {
  position: relative;
  padding: 0px;
  margin-top: 0;
  border-top: none;
  background: #fff;
  overflow: hidden; /* はみ出し防止 */
}

.specialty-header {
  text-align: center;
  margin-bottom: 40px;
}

/* オーラ背景コンテナ */
.specialty-aura-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4; /* 薄く表示 */
}

/* カラフルな光の玉 */
.aura-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* 強くぼかす */
  animation: floatAura 10s infinite ease-in-out alternate;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: #d1ecff; /* 低温（青） */
  top: 10%;
  left: -10%;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: #e4d1e7; /* PUR（紫） */
  bottom: 10%;
  right: -5%;
  animation-delay: -2s;
}
.blob-3 {
  width: 500px;
  height: 500px;
  background: #cfdfd0; /* その他（緑） */
  top: 40%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes floatAura {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

/* --- Specialty Card Styling --- */
/* 基本は標準カードと同じ .prod-card を使うが、--specialty で上書き */

.prod-card--specialty {
  border-top: 4px solid var(--accent-color); /* 上部にアクセントカラーのバー */
}

.specialty-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* カード内の微調整 */
.prod-card--specialty .prod-name {
  font-size: 1.1rem; /* 標準より少し大きくても良い */
}

/* ホバー時の挙動 */
.prod-card--specialty:hover {
  border-color: var(--accent-color); /* 枠線もその色に */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); /* 影はやわらかく */
}
.prod-card--specialty:hover .btn-arrow-text {
  color: var(--accent-color); /* ボタン文字色も連動 */
}

/* --- Responsive (SP) --- */
@media screen and (max-width: 768px) {
  .specialty-section {
    padding: 60px 0;
    margin-top: 40px;
  }

  /* SPでも2カラム（コンパクト）を維持するか、1カラムにするか */
  /* ここでは標準一覧に合わせて「2カラム」を推奨しますが、
       特殊用途は説明が必要な場合が多いので「1カラム」もありです。
       今回は「統一感」重視で標準と同じグリッド設定を使います */

  /* もし1カラムにするなら以下を解除 */
  /* #specialty-grid {
        grid-template-columns: 1fr !important;
    } 
    */
}

/* =========================================================
   Update: Glue Gun Individual Page (Final Polish)
   ========================================================= */

/* Layout */
.pg-gluegun-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* =========================================================
   v5.0 Sidebar: Professional Navigation Console
   ========================================================= */

.pg-gluegun-main {
  flex: 1;
  min-width: 0; /* Prevent flex item from overflowing */
}
/* Add SP Nav visibility control */
.pg-gluegun-main-nav-sp {
  display: none;
}
@media (max-width: 768px) {
  .pg-gluegun-layout {
    flex-direction: column;
    gap: 0;
  }

  .pg-gluegun-sidebar {
    display: none; /* Usually sidebars are hidden or moved on SP */
  }
  .pg-gluegun-main-nav-sp {
    display: block;
    margin-bottom: 20px;
  }
}

/* --- Sidebar Layout & Panel --- */
/* =========================================================
   v5.1 Sidebar: Clean SaaS UI (Refined)
   ========================================================= */

/* --- Layout & Panel --- */
.pg-gluegun-sidebar {
  width: 260px; /* 幅を少しスリムに */
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  z-index: 10;
}

.pg-gluegun-sidebar__panel {
  background: #fff;
  /* 枠線を薄くし、影をさらに繊細に */
  border: 1px solid #edf2f7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* --- Header (Light & Clean) --- */
/* =========================================================
   v5.2 Sidebar Header (Link & Slash Design)
   ========================================================= */

/* リンク化に伴うベーススタイルの調整 */
.pg-gluegun-sidebar__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px;

  /* 角丸の継承（親要素の角丸に合わせる） */
  border-radius: 8px 8px 0 0;

  /* テキスト装飾の解除 */
  text-decoration: none;

  /* --- 背景デザイン（ネイビー ＋ 斜めカット光沢） --- */
  background-color: var(--c-navy); /* ベース色 */

  /* 右上から左下(-135deg方向)に向かって、透明な白を重ねる */
  /* 0%〜40%までが「薄い白」、40%で「透明」に切り替わる＝斜めのラインができる */
  background-image: linear-gradient(
    -135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 45%,
    transparent 100%
  );

  /* ホバー時のアニメーション準備 */
  transition: opacity 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* ホバーアクション */
.pg-gluegun-sidebar__header:hover {
  /* 全体を少し明るく見せる */
  opacity: 0.9;
  /* または背景色を少し明るいネイビーにするなら以下 */
  /* background-color: #1a3b5c; */
}

/* クリックできる感を出すカーソル */
.pg-gluegun-sidebar__header {
  cursor: pointer;
}

/* タイトル文字色（白） */
.pg-gluegun-sidebar__title {
  font-family: sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff; /* ネイビー背景なので白 */
  margin: 0;
  letter-spacing: 0.05em;

  /* アイコン装飾（オレンジドット） */
  display: flex;
  align-items: center;
}

.pg-gluegun-sidebar__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-orange); /* アクセント */
  border-radius: 50%;
  margin-right: 10px;
}

/* サブタイトル文字色（薄い白） */
.pg-gluegun-sidebar__sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7); /* 半透明の白 */
  font-weight: 500;

  /* ホバー時に白く光らせて「押せる」ことを伝える */
  transition: color 0.2s;
}

.pg-gluegun-sidebar__header:hover .pg-gluegun-sidebar__sub {
  color: #fff;
  text-decoration: underline; /* リンクであることを強調 */
  text-underline-offset: 2px;
}

/* --- (オプション) さらに光沢感を足すなら --- */

.pg-gluegun-sidebar__header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.5s;
}
.pg-gluegun-sidebar__header:hover::after {
  left: 200%;
  transition: left 0.5s ease-in-out;
}

/* --- Scroll Area --- */
.pg-gluegun-sidebar__scroll-area {
  flex: 1;
  overflow-y: auto;
  /* 背景を真っ白にして清潔感を出す */
  background: #fff;
}

/* Scrollbar Tweaks (Thinner & Lighter) */
.pg-gluegun-sidebar__scroll-area::-webkit-scrollbar {
  width: 4px;
}
.pg-gluegun-sidebar__scroll-area::-webkit-scrollbar-track {
  background: transparent;
}
.pg-gluegun-sidebar__scroll-area::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 2px;
}

/* --- Accordion Group --- */
.pg-gluegun-sidebar__group {
  border-bottom: 1px solid #f1f5f9;
}
.pg-gluegun-sidebar__group:last-child {
  border-bottom: none;
}

/* Category Header */
.pg-gluegun-sidebar__group-header {
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
  /* クリックエリアを明確にするため、ホバー時はテキスト色だけ変える */
}

.pg-gluegun-sidebar__group-header:hover .pg-gluegun-sidebar__group-title {
  color: var(--c-orange);
}

.pg-gluegun-sidebar__group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-muted); /* 少し色を落として主役（製品）を立てる */
  margin: 0;
}

.pg-gluegun-sidebar__toggle-icon {
  font-size: 0.7rem;
  color: #cbd5e0;
  transition: transform 0.2s ease;
}

.pg-gluegun-sidebar__group.is-open .pg-gluegun-sidebar__toggle-icon {
  transform: rotate(180deg);
  color: var(--c-navy); /* 開いているときは少し濃く */
}

/* Product List */
.pg-gluegun-sidebar__list {
  list-style: none;
  padding: 0 0 8px 0;
  margin: 0;
  display: none;
}

.pg-gluegun-sidebar__group.is-open .pg-gluegun-sidebar__list {
  display: block;
}

/* --- Product Link (The Core UI) --- */
.pg-gluegun-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 8px 30px; /* インデントをつけて階層表現 */
  text-decoration: none;
  border-left: 3px solid transparent; /* アクティブ表示用の線 */
  transition: all 0.2s ease;
  color: var(--c-text);
  font-size: 0.9rem;
}

.pg-gluegun-sidebar__link-content {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.pg-gluegun-sidebar__name {
  font-weight: 500;
}

.pg-gluegun-sidebar__spec {
  font-size: 0.7rem;
  color: #94a3b8; /* スペックは薄くしてノイズを減らす */
  font-family: monospace;
}

/* Hover State */
.pg-gluegun-sidebar__link:hover {
  background: #f8fafc;
  color: var(--c-navy);
}

/* --- Active State (Light & Clear) --- */
/* 重たいベタ塗りをやめ、左線と背景色で軽やかに表現 */
.pg-gluegun-sidebar__link.is-current {
  background: #fffaf5; /* 極薄いオレンジ、または #f0f9ff (薄い青) */
  border-left-color: var(--c-orange);
  color: var(--c-navy);
}

.pg-gluegun-sidebar__link.is-current .pg-gluegun-sidebar__name {
  font-weight: 800;
}

.pg-gluegun-sidebar__link.is-current .pg-gluegun-sidebar__spec {
  color: var(--c-orange); /* スペックもアクセントカラーに */
  font-weight: 700;
}

.pg-gluegun-sidebar__check {
  font-size: 0.8rem;
  color: var(--c-orange);
  margin-left: 8px;
}

/* --- Footer --- */
.pg-gluegun-sidebar__footer {
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid #edf2f7;
}

.pg-gluegun-sidebar__back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  color: var(--c-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  background: #f1f5f9;
  transition: all 0.2s;
}

.pg-gluegun-sidebar__back-btn:hover {
  background: #e2e8f0;
  color: var(--c-navy);
}

/* =========================================================
   v6.0 Mobile Navigation (Final Polish)
   ========================================================= */

/* PCでは非表示（サイドバーがあるため） */
.pg-gluegun-main-nav-sp {
  display: none;
}

/* SPでのみ表示 */
@media (max-width: 900px) {
  .pg-gluegun-main-nav-sp {
    display: block;
    margin-bottom: 30px;
    /* 画面幅いっぱいに広がらないよう、少し余白を持たせる */
    padding: 0 4px;
  }

  /* ラベル（アイコン付きで視認性アップ） */
  .pg-gluegun-spnav__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: 10px;
  }

  .pg-gluegun-spnav__label i {
    color: var(--c-orange); /* ブランドカラーで強調 */
    font-size: 1rem;
  }

  /* Select Box Wrapper (矢印装飾の基準点) */
  .pg-gluegun-spnav__wrap {
    position: relative;
    width: 100%;
    /* 影をつけて少し浮かせる（SaaS風） */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 30, 60, 0.08);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  /* タップ時のフィードバック */
  .pg-gluegun-spnav__wrap:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0, 30, 60, 0.05);
  }

  /* カスタム矢印（CSSで描画） */
  .pg-gluegun-spnav__wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--c-orange); /* 矢印もオレンジに */
    border-bottom: 2px solid var(--c-orange);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none; /* クリックを透過させる */
    transition: transform 0.2s;
  }

  /* Select本体（OS標準スタイルを消してリッチにする） */
  .pg-gluegun-spnav__select {
    width: 100%;
    appearance: none; /* 標準スタイル削除 */
    -webkit-appearance: none;
    -moz-appearance: none;

    background: transparent; /* 背景は親要素(wrap)に任せる */
    border: 1px solid #e1e8f0; /* 薄い枠線 */
    border-radius: 8px;

    /* 文字サイズを16pxにしてiOSでのズーム防止 */
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    padding: 14px 40px 14px 18px; /* 右側は矢印分のスペース */

    cursor: pointer;
    outline: none;
  }

  /* フォーカス時（操作中） */
  .pg-gluegun-spnav__select:focus {
    border-color: var(--c-navy); /* 操作中はネイビー枠に */
    box-shadow: 0 0 0 3px rgba(15, 42, 68, 0.1); /* フォーカスリング */
  }

  /* 矢印の向きを変える演出（フォーカス時） */
  .pg-gluegun-spnav__select:focus + .pg-gluegun-spnav__wrap::after {
    transform: translateY(-30%) rotate(225deg);
  }
}

/* =========================================================
   v2.2 Hero: Industrial Modern (PC/SP Refined)
   ========================================================= */

/* --- Base Container & Atmosphere --- */
.pg-gluegun-fv {
  position: relative;
  margin-bottom: 60px;
  background: #fff;
  /* 奥行きを作るためのパディング */
  padding: 40px;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 40px -10px rgba(0, 30, 60, 0.08);
  overflow: hidden;
}

/* Background Texture (Subtle Tech Grid) */
.pg-gluegun-fv__bg-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(circle, #eef2f6 2px, transparent 2.5px),
    linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8) 80%);
  background-size: 24px 24px, 100% 100%;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  /* 右上から左下への斜めカット */
  clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}

.pg-gluegun-fv__inner {
  position: relative;
  z-index: 1; /* 背景の上に表示 */
}

/* --- Top Area --- */
.pg-gluegun-fv__top {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
  align-items: flex-start;
}

/* Image Frame: Floating Effect */
.pg-gluegun-fv__img-col {
  flex: 0 0 42%;
}

.pg-gluegun-fv__img-frame {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  /* 少し浮いているようなリッチな影 */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}
/* ホバーで少し動くと「いいもの」感が出る */
.pg-gluegun-fv__img-frame:hover {
  transform: translateY(-5px);
}

.pg-gluegun-fv__img-frame img {
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  /*filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));*/
}

/* Info Column */
.pg-gluegun-fv__info-col {
  flex: 1;
}

/* Header: Badge & Title */
.pg-gluegun-fv__header {
  margin-bottom: 20px;
}

.pg-gluegun-fv__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(233, 119, 48, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.pg-gluegun-fv__title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Catchcopy Box (The Solution for Flow) */
.pg-gluegun-fv__catch-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
  border: 1px solid #e1e8f0;
  border-left: 4px solid var(--c-orange); /* 左線は残すが、ボックスの一部として一体化 */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.pg-gluegun-fv__catch-icon {
  color: var(--c-orange);
  font-size: 1.2rem;
  margin-top: 2px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 5px rgba(233, 119, 48, 0.2);
}

.pg-gluegun-fv__catch-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.6;
  margin: 0;
}

/* Action Area (Price & CTA) */
.pg-gluegun-fv__action-area {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左右に配置 */
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px dashed var(--c-border);
}

/* Price Refined */
.pg-gluegun-fv__price {
  display: flex;
  flex-direction: column;
}

.pg-gluegun-fv__price-label {
  font-size: 0.8rem;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.pg-gluegun-fv__price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--c-navy);
}

.pg-gluegun-fv__price-unit {
  font-size: 1.2rem;
  font-weight: 600;
}

.pg-gluegun-fv__price-val {
  font-size: 1.8rem; /* 少し小さくしました (2.2rem -> 2rem) */
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pg-gluegun-fv__price-val.is-estimate {
  font-size: 1.6rem;
}

.pg-gluegun-fv__price-tax {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 4px;
}

/* CTA Buttons */
.pg-gluegun-fv__cta {
  display: flex;
  gap: 12px;
}

.pg-gluegun-fv__cta .btn {
  /* ボタンにアイコンを入れたので調整 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  height: 54px; /* 少し高さを出す */
}

/* --- Bottom Area: Spec Table (Tech Dashboard) --- */
.pg-gluegun-fv__spec-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-navy);
}

.pg-gluegun-fv__spec-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0;
}

.pg-gluegun-fv__spec-title i {
  color: var(--c-orange);
  margin-right: 6px;
  font-size: 1.2rem;
}

.pg-gluegun-fv__spec-sub {
  font-family: sans-serif; /* 英語用フォントがあれば指定 */
  font-size: 0.9rem;
  font-weight: 700;
  color: #b0c4de; /* 薄いブルーグレー */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pg-gluegun-fv__spec-wrap {
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.pg-gluegun-fv__table th {
  background: #f8fafc;
  color: var(--c-navy);
  font-weight: 700;
  padding: 16px 16px;
  width: 28%;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  text-align: left;
}

.pg-gluegun-fv__table th i {
  color: #cbd5e0; /* アイコンは控えめに */
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.pg-gluegun-fv__table td {
  padding: 16px 24px;
  border-bottom: 1px solid #edf2f7;
  color: var(--c-text);
  line-height: 1.6;
}

/* Variants with dots leader */
.spec-variant-row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.spec-variant-row:last-child {
  margin-bottom: 0;
}

.spec-variant-name {
  font-weight: 600;
  color: var(--c-muted);
  font-size: 0.9rem;
}
.spec-variant-dots {
  flex: 1;
  border-bottom: 1px dotted #ccc;
  margin: 0 8px;
  position: relative;
  top: -4px;
}
.spec-variant-val {
  font-weight: 700;
  color: var(--c-navy);
}

/* Spec Tags (対応形状など) */
.spec-tag {
  display: inline-block;
  background: #fff;
  border: 1px solid #d1d9e6;
  color: var(--c-text);
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-right: 6px;
  font-weight: 500;
}

/* =========================================================
   Mobile Optimization (SP) - The Crucial Part
   ========================================================= */
@media (max-width: 768px) {
  .pg-gluegun-fv {
    padding: 24px 16px; /* 余白を詰める */
  }

  .pg-gluegun-fv__top {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
  }

  .pg-gluegun-fv__img-col {
    width: 100%;
    margin: 0 auto;
  }

  .pg-gluegun-fv__title {
    font-size: 1.8rem; /* タイトルサイズ調整 */
    text-align: center;
  }

  .pg-gluegun-fv__badge {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    background: transparent; /* SPでは背景なしですっきり */
    color: var(--c-orange);
    padding: 0;
  }

  /* キャッチコピー: SPではよりコンパクトに */
  .pg-gluegun-fv__catch-box {
    padding: 16px;
    margin-bottom: 24px;
    background: #f9f9f9; /* SPはフラットなグレー背景で見やすく */
    border: none;
    border-radius: 8px;
    gap: 12px;
  }

  .pg-gluegun-fv__catch-text {
    font-size: 0.95rem; /* フォントサイズ縮小 */
    line-height: 1.5;
  }

  .pg-gluegun-fv__catch-icon {
    font-size: 1rem;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin-top: 2px;
  }

  /* --- Action Area (Mobile Layout Fix) --- */
  .pg-gluegun-fv__action-area {
    /* SPでは「価格」と「ボタン」を横並びにするレイアウトに変更 */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    /* 必要ならスティッキーにするための準備も可能 */
    border-top: none; /* 罫線削除 */
    padding-top: 0;
    gap: 12px;
  }

  /* 価格: コンパクト化 */
  .pg-gluegun-fv__price {
    flex: 0 0 auto;
  }

  .pg-gluegun-fv__price-val {
    font-size: 1.5rem; /* かなり小さくして圧迫感を消す */
  }

  .pg-gluegun-fv__price-unit {
    font-size: 1rem;
  }

  .pg-gluegun-fv__price-tax {
    font-size: 0.7rem;
  }

  /* CTA: 横並び・省スペース化 */
  .pg-gluegun-fv__cta {
    flex: 1; /* 残りのスペースを使う */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2ボタンを均等割り */
    gap: 8px;
  }

  .pg-gluegun-fv__cta .btn {
    padding: 0 8px; /* パディング縮小 */
    font-size: 0.85rem;
    height: 44px; /* 高さ縮小 */
    justify-content: center;
  }

  .pg-gluegun-fv__cta .btn i {
    display: none; /* SPではアイコン非表示で文字優先 */
  }

  /* スペック表 SP調整 */
  .pg-gluegun-fv__table th {
    width: 35%;
    padding: 12px;
    font-size: 0.85rem;
  }

  .pg-gluegun-fv__table td {
    padding: 12px;
    font-size: 0.9rem;
  }

  .pg-gluegun-fv__table th i {
    display: none; /* SPではアイコン消してスッキリ */
  }
}

/* さらに画面が狭い場合（iPhone SEなど）の微調整 */
@media (max-width: 375px) {
  .pg-gluegun-fv__action-area {
    flex-direction: column; /* さすがに縦に積む */
    align-items: stretch;
  }

  .pg-gluegun-fv__price {
    align-items: center;
    margin-bottom: 10px;
  }
}

/* =========================================================
   v2.3 Mobile Optimization (Final Polish)
   ========================================================= */

@media (max-width: 768px) {
  /* アクションエリア全体：余白調整 */
  .pg-gluegun-fv__action-area {
    gap: 8px; /* 価格とボタンの間の隙間を少し詰める（12px -> 8px） */
    align-items: center; /* 垂直方向中央揃え */
    padding: 12px 0 0; /* 上部の余白調整 */
  }

  /* 価格エリア：主役としてスペース確保 */
  .pg-gluegun-fv__price {
    flex: 0 0 auto; /* 縮まないように固定 */
    margin-right: 4px; /* ボタンとの距離を確保 */
  }

  .pg-gluegun-fv__price-label {
    font-size: 0.7rem;
    margin-bottom: 0;
    color: var(--c-muted);
  }

  .pg-gluegun-fv__price-main {
    line-height: 1;
  }

  /* 価格：SPでも小さくしすぎない */
  .pg-gluegun-fv__price-val {
    font-size: 1.6rem; /* 1.5rem -> 1.6rem に少し戻して堂々と */
    letter-spacing: -0.05em; /* 文字間を詰めて幅を節約 */
    white-space: nowrap; /* 絶対に折り返させない */
  }

  .pg-gluegun-fv__price-unit {
    font-size: 1rem;
    margin-right: 2px;
  }

  .pg-gluegun-fv__price-tax {
    display: block; /* 税抜表示を改行して価格の下へ（幅節約の秘策） */
    font-size: 0.65rem;
    margin-top: 2px;
    line-height: 1;
    transform-origin: left top;
    transform: scale(0.9); /* さらに小さく見せる */
  }

  /* CTAボタンエリア：コンパクト化 */
  .pg-gluegun-fv__cta {
    flex: 1; /* 残り幅を全て使う */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2つのボタンを等分 */
    gap: 6px; /* ボタン間の隙間を極小に */
    min-width: 0; /* Flex内でのはみ出し防止 */
  }

  .pg-gluegun-fv__cta .btn {
    padding: 0 4px !important; /* 左右の余白を限界まで削る */
    font-size: 0.75rem; /* 文字サイズを少し小さく (12px相当) */
    height: 42px; /* 高さも少しスリムに */
    width: 100%;
    white-space: nowrap; /* 折り返し防止 */
    letter-spacing: -0.02em; /* 文字間を詰める */
  }

  /* 「お問い合わせ」の文字が長くて溢れる場合の保険 */
  .pg-gluegun-fv__cta .btn--accent {
    font-weight: 700;
  }
}

/* iPhone SE (375px) などの狭い端末向けの最終防衛ライン
   もしこれでも狭ければ、ボタン内の文字を少し小さくします
*/
@media (max-width: 360px) {
  .pg-gluegun-fv__price-val {
    font-size: 1.4rem;
  }
}

/* ---------------------------------------------------
   廃盤案内のスタイル
   --------------------------------------------------- */

/* 廃盤→後継機案内（工事現場ストライプ） */
.pg-successor-notice {
  position: relative;
  border-radius: 14px;
  padding: 18px 18px 18px 20px;
  margin: 18px 0 22px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #ffffff; /* まず読みやすい土台 */
}

/* 斜めストライプ背景（上に薄く重ねる） */
.pg-successor-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 184, 0, 0.32) 0px,
    rgba(255, 184, 0, 0.32) 10px,
    rgba(0, 0, 0, 0.08) 10px,
    rgba(0, 0, 0, 0.08) 20px
  );
  opacity: 0.9;
  pointer-events: none;
}

/* 左の警告バー */
.pg-successor-notice::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: #ff8a00; /* サイトのオレンジに寄せる */
  pointer-events: none;
}

/* 中身は背景より前に */
.pg-successor-notice > * {
  position: relative;
  z-index: 1;
}

/* 見出し（廃盤です 等） */
.pg-successor-notice__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

/* 警告アイコン（テキストでもOK） */
.pg-successor-notice__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-weight: 900;
}

/* 本文 */
.pg-successor-notice__text {
  margin: 0 0 12px;
  line-height: 1.7;
}

/* 後継機リンクをボタン化 */
.pg-successor-notice__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0f3550; /* ネイビー */
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(15, 53, 80, 0.18);
}

.pg-successor-notice__cta:hover {
  filter: brightness(1.05);
  color: #fff;
}

.pg-successor-notice__cta:focus-visible {
  outline: 3px solid rgba(255, 138, 0, 0.55);
  outline-offset: 3px;
}

/* SPで詰まりすぎないように */
@media (max-width: 600px) {
  .pg-successor-notice {
    padding: 16px 14px 16px 18px;
  }
  .pg-successor-notice__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ---------------------------------------------------
   3. Spec Section (S-Flow & Hierarchy)
   --------------------------------------------------- */
/* =========================================================
   v3.0 Feature, Video, Gallery Sections
   ========================================================= */

/* --- Common Section Styles --- */
.pg-gluegun-section {
  margin-bottom: 80px;
}

/* Styled Section Header */
.pg-section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.pg-section-header__en {
  display: block;
  font-family: sans-serif; /* 欧文フォント指定推奨 */
  font-weight: 900;
  font-size: 3rem;
  color: #f0f4f8; /* 超薄いグレー */
  line-height: 1;
  letter-spacing: 0.05em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

.pg-section-title {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0;
  display: inline-block;
}

.pg-section-title i {
  color: var(--c-orange);
  margin-right: 8px;
}

/* --- Features Section (Card Style) --- */
.pg-gluegun-feature__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pg-gluegun-feature__item {
  position: relative;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 30px 30px 30px 70px; /* ナンバリング用の左余白 */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  gap: 30px;
  align-items: center;
}

.pg-gluegun-feature__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e0;
}

/* Numbering (01, 02...) */
.pg-gluegun-feature__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: #f7f9fb;
  border-right: 1px solid #e1e8f0;
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.pg-gluegun-feature__num-val {
  font-family: sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #cbd5e0;
  writing-mode: vertical-rl; /* 縦書きでスタイリッシュに */
  letter-spacing: 0.1em;
  transform: rotate(180deg); /* 下から上へ読む向き */
}

/* Feature Content */
.pg-gluegun-feature__content {
  flex: 1;
}

.pg-gluegun-feature__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f4f8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-gluegun-feature__title i {
  font-size: 1rem;
  color: #fff;
  background: var(--c-navy);
  padding: 4px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-gluegun-feature__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}

/* Feature with Image */
.pg-gluegun-feature__item--with-img {
  align-items: flex-start; /* 上揃え */
}

.pg-gluegun-feature__img-wrap {
  flex: 0 0 35%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e1e8f0;
}

.pg-gluegun-feature__img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Note Block (Hazard Style) --- */
.pg-gluegun-feature__note {
  display: flex;
  background: #fff;
  border: 2px solid #fec107; /* 警戒色イエロー */
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}

.pg-gluegun-feature__note-icon {
  background: repeating-linear-gradient(
    45deg,
    #fec107,
    #fec107 10px,
    #333 10px,
    #333 20px
  ); /* トラテープ柄 */
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pg-gluegun-feature__note-icon i {
  color: #fff;
  font-size: 1.5rem;
  background: #333;
  padding: 8px;
  border-radius: 50%;
  border: 2px solid #fec107;
  position: relative;
  z-index: 1;
}

.pg-gluegun-feature__note-body {
  padding: 20px;
  flex: 1;
}

.pg-gluegun-feature__note-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #333;
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}

.pg-gluegun-feature__note-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* --- Video Section (Monitor Style) --- */
.pg-gluegun-media__frame {
  max-width: 900px;
  margin: 0 auto;
  background: #2b2b2b; /* ダークグレーの筐体 */
  padding: 20px 20px 40px;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
}

.pg-gluegun-media__monitor {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border: 2px solid #111;
  border-radius: 4px;
  overflow: hidden;
}

.pg-gluegun-media__monitor iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pg-gluegun-media__deco {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: monospace;
  color: #666;
  font-size: 0.8rem;
  padding: 0 10px;
}

.pg-gluegun-media__deco span:first-child {
  color: #ff3b30; /* REC赤 */
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* --- Sub Images (Gallery Grid) --- */
.pg-gluegun-subimages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.pg-gluegun-subimages__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e1e8f0;
  aspect-ratio: 4/3;
}

.pg-gluegun-subimages__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pg-gluegun-subimages__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 41, 71, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pg-gluegun-subimages__overlay i {
  color: #fff;
  font-size: 2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

/* Hover Effects */
.pg-gluegun-subimages__item:hover img {
  transform: scale(1.1);
}
.pg-gluegun-subimages__item:hover .pg-gluegun-subimages__overlay {
  opacity: 1;
}
.pg-gluegun-subimages__item:hover .pg-gluegun-subimages__overlay i {
  transform: scale(1);
}

/* --- Responsive (SP) --- */
@media (max-width: 768px) {
  .pg-section-header__en {
    font-size: 2rem; /* 背景英語を小さく */
  }

  /* Feature List Stack */
  .pg-gluegun-feature__item {
    flex-direction: column;
    padding: 20px 20px 20px 60px; /* 左余白は維持（ナンバリング用） */
    gap: 20px;
  }

  .pg-gluegun-feature__img-wrap {
    width: 100%;
    max-width: none;
  }

  .pg-gluegun-feature__num {
    width: 40px; /* 少し細く */
  }

  .pg-gluegun-feature__num-val {
    font-size: 1.1rem;
  }

  /* Note Block */
  .pg-gluegun-feature__note {
    flex-direction: column;
  }

  .pg-gluegun-feature__note-icon {
    width: 100%;
    height: 40px; /* 横長の帯にする */
    background: repeating-linear-gradient(
      45deg,
      #fec107,
      #fec107 10px,
      #333 10px,
      #333 20px
    );
    flex-direction: row;
  }

  .pg-gluegun-feature__note-icon i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    padding: 6px;
  }

  /* Gallery */
  .pg-gluegun-subimages__grid {
    grid-template-columns: repeat(2, 1fr); /* SPは2列 */
    gap: 10px;
  }
}

/* =========================================================
Related Products Section
   ========================================================= */
/* =========================================================
   v4.0 Related Products (Power Design)
   ========================================================= */

/* --- Layout Grid --- */
.pg-gluegun-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* --- Card Style --- */
.pg-related-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  height: 360px; /* 高さ統一 */
}

/* Interactive State (Not Current) */
a.pg-related-card:hover {
  transform: translateY(-8px); /* ふわりと浮く */
  box-shadow: 0 20px 40px rgba(0, 30, 60, 0.12); /* リッチな影 */
  border-color: transparent;
  z-index: 2;
}

/* Current Product State (Disabled look but distinct) */
.pg-related-card.is-current {
  border: 2px solid var(--c-navy);
  background: #fdfdfd;
  cursor: default;
  opacity: 1; /* 薄くせず、あえて強調 */
}

.pg-related-card.is-current .pg-related-card__img img {
  mix-blend-mode: multiply;
  opacity: 0.8;
}

/* Badge for Current */
.pg-related-card__current-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--c-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 14px 0 16px 0;
  z-index: 5;
  letter-spacing: 0.05em;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.pg-related-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Image Area */
.pg-related-card__img-wrapper {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(
    circle at center,
    #fcfcfc,
    #fff
  ); /* 微妙な立体感 */
}

.pg-related-card__img img {
  max-width: 90%;
  max-height: 100%;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

a.pg-related-card:hover .pg-related-card__img img {
  transform: scale(1.05); /* 画像も少し拡大 */
}

/* Info Area (Default) */
.pg-related-card__initial-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pg-related-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pg-related-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0;
  line-height: 1.3;
}

.pg-related-card__tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  background: var(--c-orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.pg-related-card__spec {
  margin-top: auto; /* 下に寄せる */
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pg-related-card__spec i {
  color: #cbd5e0;
}

/* --- Slide-up Panel (The "Glass" Effect) --- */
.pg-related-card__hover-info {
  position: absolute;
  inset: 0;
  top: auto; /* 下から */
  height: auto;
  min-height: 60%;

  /* Glassmorphism Navy */
  background: rgba(8, 41, 71, 0.95);
  backdrop-filter: blur(8px); /* すりガラス効果 */
  -webkit-backdrop-filter: blur(8px);

  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); /* 極上のイージング */
  z-index: 10;
}

a.pg-related-card:hover .pg-related-card__hover-info {
  transform: translateY(0);
}

.pg-related-card__title-hover {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
}

.pg-related-card__spec-hover {
  color: #aeddfc; /* 明るい水色 */
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.pg-related-card__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pg-related-card__more {
  margin-top: auto;
  color: var(--c-orange);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Category Navigation (Bottom Buttons) --- */
.pg-related-nav {
  margin-top: 60px;
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  border: 1px dashed #cbd5e0;
}

.pg-related-nav__title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: 20px;
}

.pg-related-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pg-related-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid #e1e8f0;
  padding: 12px 20px;
  border-radius: 50px; /* Pill shape */
  color: var(--c-navy);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 200px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.pg-related-nav__item:hover {
  border-color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  color: var(--c-orange);
}

.pg-related-nav__item--all {
  background: #eef2f6;
  color: var(--c-text);
}

/* --- Responsive (SP) --- */
@media (max-width: 900px) {
  .pg-gluegun-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* =========================================================
   v4.1 Mobile Optimization (2-Column Compact Grid)
   ========================================================= */

@media (max-width: 600px) {
  /* 1. Grid Layout: 2 Columns */
  .pg-gluegun-related__grid {
    grid-template-columns: repeat(2, 1fr); /* 2カラム強制 */
    gap: 10px; /* 隙間は狭めに */
  }

  /* 2. Card Layout: Revert to Vertical Stack */
  .pg-related-card {
    flex-direction: column; /* 縦積みに戻す */
    height: 100%; /* 高さを揃える */
    padding: 0;
    border-radius: 8px; /* 角丸を少し小さく */
  }

  /* Image Wrapper */
  .pg-related-card__img-wrapper {
    width: 100%;
    height: 130px; /* 画像エリアの高さを固定 */
    padding: 15px; /* 余白を持たせる */
    background: transparent;
  }

  .pg-related-card__img img {
    max-width: 100%;
    max-height: 100%;
  }

  /* Info Area */
  .pg-related-card__initial-info {
    padding: 0 12px 16px; /* 横余白を確保 */
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  /* Title Row */
  .pg-related-card__title-row {
    margin-bottom: 6px;
    display: block; /* フレックス解除 */
  }

  .pg-related-card__title {
    font-size: 0.9rem; /* 少し小さく */
    line-height: 1.4;
    /* 長いタイトルは2行までで省略 */
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em; /* 2行分の高さを確保してガタつき防止 */
  }

  /* "おすすめ" Tag: Save space by floating it */
  .pg-related-card__tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.6rem;
    padding: 2px 6px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Spec Info */
  .pg-related-card__spec {
    margin-top: auto; /* 一番下に寄せる */
    font-size: 0.75rem;
    color: var(--c-muted);
  }

  .pg-related-card__spec i {
    font-size: 0.7rem;
  }

  /* Current Badge Adjustment */
  .pg-related-card__current-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 8px 0 8px 0;
  }

  /* Hover Panel Disable (Keep hidden on mobile) */
  .pg-related-card__hover-info {
    display: none;
  }

  /* 下部のナビボタン調整 */
  .pg-related-nav {
    margin-top: 40px;
    padding: 20px;
  }

  .pg-related-nav__item {
    width: 100%; /* ボタンは縦積みで押しやすく */
    min-width: 0;
  }
}

/* =========================================================
   404 Not Found Page Styles
   ========================================================= */

.page-404 {
  padding: 80px 0 100px;
  background: #fdfdfd;
}

/* --- Hero Section --- */
.p404-hero {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

.p404-hero__icon {
  font-size: 4rem;
  color: #cbd5e0;
  margin-bottom: 20px;
  display: inline-block;
  background: #f1f5f9;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 少し回転させて「壊れた感」を演出 */
  transform: rotate(-10deg);
}

.p404-hero__title {
  font-family: sans-serif; /* 英語フォント */
  font-size: 3rem;
  font-weight: 900;
  color: var(--c-navy);
  margin: 0 0 16px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.p404-hero__lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}

.p404-hero__desc {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* --- Navigation Section --- */
.p404-nav {
  max-width: 900px;
  margin: 0 auto;
}

.p404-nav__title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  width: 100%;
}
.p404-nav__title::before,
.p404-nav__title::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #e1e8f0;
  vertical-align: middle;
  margin: 0 16px;
}

.p404-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* --- Card Design --- */
.p404-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.p404-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 30, 60, 0.08);
  border-color: var(--c-link);
}

.p404-card__icon {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  color: var(--c-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 20px;
}

.p404-card__body {
  flex: 1;
}

.p404-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0 0 6px;
}

.p404-card__text {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

.p404-card__arrow {
  color: #cbd5e0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.p404-card:hover .p404-card__arrow {
  color: var(--c-orange);
  transform: translateX(4px);
}

/* Contact Card Emphasis */
.p404-card--contact {
  background: #fffaf5;
  border-color: rgba(233, 119, 48, 0.2);
}
.p404-card--contact .p404-card__icon {
  background: #fff;
  color: var(--c-orange);
}

/* --- Responsive (SP) --- */
@media (max-width: 768px) {
  .p404-hero__title {
    font-size: 2.4rem;
  }
  .p404-grid {
    grid-template-columns: 1fr;
  }
  .p404-card {
    padding: 20px;
  }
}
