@charset "UTF-8";

.type-01-badge {
    display: inline-block;
    font-size: 13px;
    color: #FFF;
    background-color: #E8C33A;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 12px;
    font-weight: normal;
    vertical-align: middle;
    white-space: nowrap;
}

.type-02-badge {
    display: inline-block;
    font-size: 13px;
    color: #FFF;
    background-color: #4587C7;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 12px;
    font-weight: normal;
    vertical-align: middle;
    white-space: nowrap;
}

.type-03-badge {
    display: inline-block;
    font-size: 13px;
    color: #FFF;
    background-color: #F58220;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 12px;
    font-weight: normal;
    vertical-align: middle;
    white-space: nowrap;
}

/* PC環境のみ、表組の中身を崩さずに上下左右中央揃えにする記述 */
@media (min-width: 641px) {
  .mod-freeHTML .hipri-wrapper .about__li__wrap {
    display: grid !important;
    align-content: center !important;
    justify-content: center !important;
  }
}

/* ==================================================
   【修正版】スクロール追従位置適正化 ＆ 横幅バグ解決CSS
================================================== */
/* 1. 先祖・親要素のoverflow制限を完全に解除（縦のStickyを絶対に殺さない設定） */
#UserResponsiveLayout,
.st-wrapper,
.st-freeContents,
.mod-freeHTML .hipri-wrapper {
  overflow: visible !important;
}

/* 2. スマホの横幅バグ（右側空白）の根本原因を、メニューエリア単体で局所的に叩き切る */
@media (max-width: 640px) {
  .mod-freeHTML #cmn-menu {
    overflow: hidden !important; /* 右外に飛び出しているSPメニューの残像をこの中だけでカット */
    width: 100%;
  }
  .mod-freeHTML #cmn-menu .cmn-menu__wrap {
    visibility: hidden !important;
    transition: transform ease-out 0.3s, visibility 0s linear 0.3s !important;
  }
  .mod-freeHTML #cmn-menu .cmn-menu__wrap.js-menu--open {
    visibility: visible !important;
    transition: transform ease-out 0.3s, visibility 0s linear 0s !important;
  }
}

/* 3. 表頭（ヘッダー）のスクロール追従 ＆ 隙間グレー埋め設定 */
.mod-freeHTML .hipri-wrapper .about__list {
  position: relative;
  margin-top: 3.5em !important;
}
.mod-freeHTML .hipri-wrapper .about__li__tit {
  position: -webkit-sticky;
  position: sticky;
  top: 49.5px; /* ★前々回成功していた49.5px（固定グロナビの底辺）に修正し、隙間を完全に塞ぎました */
  z-index: 100;
  background-color: #F0F0F0; /* 行全体の背景をグレーにすることで、元の要素順を維持したまま隙間を埋める */
  align-items: stretch !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 640px) {
  .mod-freeHTML .hipri-wrapper .about__li__tit {
    top: 34px; /* SP版固定メニューの高さに連動 */
    gap: 0.8vw;
    margin-bottom: 0.8vw;
  }
}

/* 4. 全体の高さを圧縮（余白・パディングの適正化） */
.mod-freeHTML .hipri-wrapper .about__li__wrap {
  padding: 10px 15px !important; /* 縦パディングをスマートに圧縮 */
}
.mod-freeHTML .hipri-wrapper .about__li__wrap:nth-of-type(2) {
  padding: 10px 5px !important;
}
.mod-freeHTML .hipri-wrapper .about__li__tit__wrap {
  padding: 12px 20px !important;
}
.mod-freeHTML .hipri-wrapper .about__tit {
  margin-bottom: 0.4em !important;
}
@media (max-width: 640px) {
  .mod-freeHTML .hipri-wrapper .about__li__wrap {
    padding: 6px 4px !important;
  }
  .mod-freeHTML .hipri-wrapper .about__li__wrap:nth-of-type(2) {
    padding: 4px 2px !important;
  }
  .mod-freeHTML .hipri-wrapper .about__li__tit__wrap {
    padding: 8px 4px !important;
  }
}

/* 5. フォントサイズ・太字の最適化 */
.mod-freeHTML .hipri-wrapper .about__txt {
  font-size: 19px !important;
}
.mod-freeHTML .hipri-wrapper .about__txt__lar {
  font-size: 21px !important;
}
.mod-freeHTML .hipri-wrapper .about__txt__middle {
  font-size: 15px !important;
}
@media (max-width: 640px) {
  .mod-freeHTML .hipri-wrapper .about__txt {
    font-size: 13px !important;
  }
  .mod-freeHTML .hipri-wrapper .about__txt__lar {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }
  .mod-freeHTML .hipri-wrapper .about__txt__middle {
    font-size: 11px !important;
  }
}

/* 通常ウェイトの補足・注記用フォントスタイル */
.mod-freeHTML .hipri-wrapper .about__txt__desc {
  display: inline;
  font-size: 12px;
  font-weight: normal !important;
  color: #555555;
}
.mod-freeHTML .hipri-wrapper .about__txt__desc--block {
  display: block;
  font-size: 12px;
  font-weight: normal !important;
  color: #555555;
  margin-top: 3px;
  line-height: 1.4;
}
/* 対象製品内の型番リスト用 */
.mod-freeHTML .hipri-wrapper .about__product-list {
  display: block;
  font-size: 13px;
  font-weight: normal !important;
  color: #333333;
  margin-top: 4px;
  margin-bottom: 8px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 640px) {
  .mod-freeHTML .hipri-wrapper .about__txt__desc {
    font-size: 10px;
  }
  .mod-freeHTML .hipri-wrapper .about__txt__desc--block,
  .mod-freeHTML .hipri-wrapper .about__product-list {
    font-size: 10px;
    margin-top: 2px;
    margin-bottom: 4px;
  }
}

/* バッジまわりのマージン ＆ スマホ時のはみ出し防止調整 */
.mod-freeHTML .hipri-wrapper [class*="-badge"] {
  margin-left: 0 !important;
  margin-bottom: 4px;
}
.mod-freeHTML .hipri-wrapper [class*="-badge"] .about__txt__xs {
  font-weight: bold !important;
  font-size: 11px !important;
  color: #FFFFFF !important;
}
@media (max-width: 640px) {
  .mod-freeHTML .hipri-wrapper [class*="-badge"] {
    white-space: normal !important; /* スマホ画面での突き抜け・はみ出しをストップ */
    max-width: 100%;
    text-align: center;
  }
  .mod-freeHTML .hipri-wrapper [class*="-badge"] .about__txt__xs {
    font-size: 9px !important;
  }
}
