@charset "UTF-8";
/* ============================================================
   安定供給等情報 / 安定供給情報 / 整合性点検情報
   レスポンシブ CSS（メディアクエリのみ。基本スタイルは各HTMLの
   確認用 <style> を踏襲し、本ファイルはブレークポイント差分を担う）

   Breakpoints（DESIGN.md §9 準拠）
     - Tablet : max-width 768px
     - Mobile : max-width 480px
   共通方針
     - 幅100% + 左右padding（Tablet 24px / Mobile 16px）
     - 最小フォント 16px 維持
     - タップ領域 44px 以上
     - 横スクロール（はみ出し）ゼロ
   ============================================================ */

/* ------------------------------------------------------------
   確認用プレビューヘッダーの溢れ対策（全幅共通）
   1440pxの想定幅では1行に収まり、それ未満で収まらない場合のみ
   検索ボックス等が折り返す。本番はバナーヘッダーモジュールに置換。
   ------------------------------------------------------------ */
.Header__bar {
  flex-wrap: wrap;
}
/* 検索inputの intrinsic min-width により200px枠を溢れるのを防ぐ */
.Header__search input {
  min-width: 0;
}

/* ============================================================
   Tablet 以下（max-width: 768px）
   ============================================================ */

/* ===== PC基準スタイル（旧・各HTMLインラインstyleを外部化。
   モバイル上書きが打ち消されないよう @media より前に配置） ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; color: #212121; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header（プレビュー用。本番では バナーヘッダー モジュールに置き換え） ===== */
.Header { width: 100%; border-top: 4px solid #005CC5; }
.Header__bar { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; border-bottom: 1px solid #ccc; }
.Header__logos { display: flex; align-items: center; gap: 20px; }
.Header__logos img:first-child { width: 59px; height: 30px; object-fit: contain; }
.Header__logos img:last-child { width: 96px; height: 30px; object-fit: contain; }
.Header__nav { display: flex; align-items: center; gap: 20px; }
.Header__nav a { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #000; line-height: 20px; }
.Header__nav a i { font-size: 14px; color: #005CC5; }
.Header__members { display: flex; align-items: center; gap: 8px; }
.Header__members a { display: inline-block; background: #005CC5; color: #fff; font-size: 11px; font-weight: 700; padding: 7px 14px; border-radius: 2px; border: 1px solid #005CC5; line-height: 14px; }
.Header__search { display: flex; align-items: center; width: 200px; height: 30px; border: 1px solid #ccc; border-radius: 4px; background: #fff; padding: 0 8px 0 10px; }
.Header__search input { flex: 1; border: none; outline: none; font-size: 12px; color: #999; font-family: 'Noto Sans JP', sans-serif; background: transparent; }
.Header__search button { font-size: 11px; color: #1F78D9; white-space: nowrap; cursor: pointer; border: none; background: none; }

/* ===== SubNav（製品情報 セクションナビ） ===== */
.SubNav { border-bottom: 1px solid #ccc; }
.SubNav__list { max-width: 1000px; margin: 0 auto; display: flex; justify-content: center; list-style: none; flex-wrap: wrap; }
.SubNav__item a { display: flex; align-items: center; gap: 5px; padding: 16px 20px; font-size: 18px; color: #212121; }
.SubNav__item.is-active a { color: #005CC5; border-bottom: 3px solid #005CC5; font-weight: 700; }

/* ===== Main ===== */
.Main { max-width: 1000px; margin: 0 auto; padding: 24px 0 80px; }

/* ===== TopicPath（パンくず） ===== */
.TopicPath { display: flex; list-style: none; font-size: 13px; color: #828282; line-height: 20px; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.TopicPath a { color: #828282; }
.TopicPath a:hover { text-decoration: underline; }
.TopicPath li + li::before { content: '>'; margin-right: 4px; }

/* ===== Footer（プレビュー用。本番では バナーフッター モジュールに置き換え） ===== */
.Footer { max-width: 1000px; margin: 40px auto 0; background: #f5f5f5; padding: 16px 20px; }
.Footer__links { font-size: 11px; color: #828282; margin-bottom: 6px; }
.Footer__links a { color: #828282; }
.Footer__copyright { font-size: 11px; color: #828282; }


/*
製品情報＞安定供給等情報（ハブ）ページ
*/

/* ===== GenericContent ===== */
.GenericContent__title { font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: 0.56px; padding: 20px 15px; background: #fafafa; position: relative; margin-bottom: 40px; }
.GenericContent__title::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: calc(100% - 20px); background: #005CC5; }

.GenericContent__lead { font-size: 20px; font-weight: 700; line-height: 1.5; padding: 0 0 16px 14px; border-bottom: 1px solid #d0d0d0; margin: 0 0 24px; position: relative; }
.GenericContent__lead::before { content: ''; position: absolute; left: 0; top: 4px; width: 4px; height: 24px; background: #005CC5; }

/* ===== GenericTabs（安定供給情報 / 整合性点検情報 タブ） ===== */
.GenericTabs { margin-bottom: 24px; }
.GenericTabs__list { display: flex; list-style: none; border: 1px solid #ccc; border-radius: 2px; overflow: hidden; }
.GenericTabs__item { flex: 1; }
.GenericTabs__item + .GenericTabs__item { border-left: 1px solid #ccc; }
.GenericTabs__item a { display: block; text-align: center; padding: 16px; font-size: 18px; font-weight: 700; color: #212121; line-height: 1.4; }
.GenericTabs__item a:hover { background: #f5faff; color: #005CC5; }
.GenericTabs__item.is-active a { background: #005CC5; color: #fff; }
.GenericTabs__item.is-active a:hover { background: #005CC5; color: #fff; }

/* ===== DocList（様式リンク一覧） ===== */
.DocGroup { margin-bottom: 8px; }
.DocList { list-style: none; }
.DocList__item { border-bottom: 1px solid #e0e0e0; }
.DocList__link { display: flex; align-items: center; gap: 8px; padding: 16px 8px; color: #005CC5; font-size: 16px; line-height: 1.5; }
.DocList__link::before { content: ''; flex-shrink: 0; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent #005CC5; }
.DocList__link:hover { background: #f5faff; }
.DocList__link:hover .DocList__label { text-decoration: underline; }
.DocList__label { color: #005CC5; }
.DocList__pdf { color: #212121; font-size: 16px; }


/*
製品情報＞安定供給等情報＞カテゴリ別一覧ページ
*/

/* ===== GenericContent ===== */
.GenericContent__title { font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: 0.56px; padding: 20px 15px; background: #fafafa; position: relative; margin-bottom: 40px; }
.GenericContent__title::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: calc(100% - 20px); background: #005CC5; }

.GenericContent__lead { font-size: 20px; font-weight: 700; line-height: 1.5; padding: 0 0 16px 14px; border-bottom: 1px solid #d0d0d0; margin: 0 0 24px; position: relative; }
.GenericContent__lead::before { content: ''; position: absolute; left: 0; top: 4px; width: 4px; height: 24px; background: #005CC5; }

/* ===== GenericTabs（3タブ） ===== */
.GenericTabs { margin-bottom: 32px; }
.GenericTabs__list { display: flex; list-style: none; border: 1px solid #ccc; border-radius: 2px; overflow: hidden; }
.GenericTabs__item { flex: 1; }
.GenericTabs__item + .GenericTabs__item { border-left: 1px solid #ccc; }
.GenericTabs__item a { display: block; text-align: center; padding: 16px; font-size: 18px; font-weight: 700; color: #212121; line-height: 1.4; }
.GenericTabs__item a:hover { background: #f5faff; color: #005CC5; }
.GenericTabs__item.is-active a { background: #005CC5; color: #fff; }
.GenericTabs__item.is-active a:hover { background: #005CC5; color: #fff; }

/* ===== YearFilter（掲載年フィルタ） ===== */
.YearFilter { margin-bottom: 32px; }
.YearFilter__label { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.YearFilter__list { display: flex; list-style: none; gap: 12px; flex-wrap: wrap; }
.YearFilter__item a { display: block; padding: 8px 22px; border: 1px solid #ccc; border-radius: 999px; font-size: 16px; color: #212121; line-height: 1.5; }
.YearFilter__item a:hover { border-color: #005CC5; color: #005CC5; }
.YearFilter__item.is-active a { background: #005CC5; border-color: #005CC5; color: #fff; }

/* ===== DocGroup / DocList（自主点検リンク一覧） ===== */
.DocGroup { margin-bottom: 32px; }
.DocGroup__title { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 4px; color: #212121; }
.DocList { list-style: none; }
.DocList__item { border-bottom: 1px solid #e0e0e0; }
.DocList__link { display: flex; align-items: center; gap: 8px; padding: 14px 8px; color: #005CC5; font-size: 16px; line-height: 1.5; }
.DocList__link::before { content: ''; flex-shrink: 0; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent #005CC5; }
.DocList__link:hover { background: #f5faff; }
.DocList__link:hover .DocList__label { text-decoration: underline; }
.DocList__label { color: #005CC5; }
.DocList__pdf { color: #212121; font-size: 16px; }

/* ===== タブレット/モバイル レスポンシブ（上書き） ===== */
@media (max-width: 768px) {

  /* --- Header（確認用プレビュー。狭幅では折り返して溢れを防止） --- */
  .Header__bar {
    flex-wrap: wrap;
    padding: 12px 24px;
    gap: 12px 16px;
  }
  /* グローバルナビ・検索・会員ボタンは狭幅で非表示（本番はハンバーガー） */
  .Header__nav,
  .Header__search,
  .Header__members {
    display: none;
  }

  /* --- コンテナ：幅100% + 左右padding 24px --- */
  .Main {
    max-width: 100%;
    padding: 24px 24px 64px;
  }
  .SubNav__list {
    max-width: 100%;
    padding: 0 16px;
  }
  .Footer {
    max-width: 100%;
    margin: 40px 0 0;
  }

  /* --- 見出しの折り返し可読性 --- */
  .GenericContent__title {
    font-size: 24px;
    line-height: 1.4;
    padding: 18px 14px;
    margin-bottom: 28px;
  }
  .GenericContent__lead {
    font-size: 18px;
  }
}

/* ============================================================
   Mobile 以下（max-width: 480px）
   ============================================================ */
@media (max-width: 480px) {

  /* --- コンテナ：左右padding 16px --- */
  .Header__bar {
    padding: 12px 16px;
  }
  .Main {
    padding: 24px 16px 56px;
  }
  .SubNav__list {
    padding: 0 8px;
  }

  /* --- SubNav：2列グリッド。アクティブ（安定供給等情報）は全幅・中央 --- */
  .SubNav__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    column-gap: 4px;
  }
  .SubNav__item a {
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: 16px;
    min-height: 44px;
  }
  .SubNav__item.is-active {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }
  .SubNav__item.is-active a {
    display: inline-flex;
  }

  /* --- 見出し --- */
  .GenericContent__title {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .GenericContent__lead {
    font-size: 17px;
    line-height: 1.5;
  }

  /* --- タブ（ハブ2タブ / サブ3タブ）：縦積みフル幅ボタン ---
     各44px以上、非アクティブ = 枠線+濃色、アクティブ = 青地白文字 */
  .GenericTabs__list {
    flex-direction: column;
    border: 0;
    border-radius: 0;
    overflow: visible;
    gap: 8px;
  }
  .GenericTabs__item {
    flex: 0 0 auto;
  }
  .GenericTabs__item + .GenericTabs__item {
    border-left: 0;
  }
  .GenericTabs__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 2px;
  }
  .GenericTabs__item.is-active a {
    background: #005cc5;
    border-color: #005cc5;
    color: #fff;
  }

  /* --- 年フィルタ：折返し + 各ピル 44px以上・16px --- */
  .YearFilter__list {
    gap: 10px;
  }
  .YearFilter__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    font-size: 16px;
  }

  /* --- 様式・自主点検リンク：行全体タップ。
     長い見出しは折返し可、（PDF）は改行後の同行末に続く --- */
  .DocList__link {
    display: block;
    position: relative;
    gap: 0;
    padding: 14px 8px 14px 26px;
    font-size: 16px;
    line-height: 1.6;
    min-height: 44px;
  }
  .DocList__link::before {
    position: absolute;
    left: 8px;
    top: 21px;
  }
  .DocList__label {
    display: inline;
  }
  .DocList__pdf {
    display: inline;
    margin-left: 2px;
    white-space: nowrap;
  }

  /* グループ間隔を少し詰める */
  .DocGroup {
    margin-bottom: 24px;
  }
  .DocGroup__title {
    font-size: 17px;
  }
}


