/* =========================================================
   バッグカテゴリTOP（/products/category/011）
   モックアップ tote-bag-category desktop v10 / mobile v65 準拠
   .bagPage 配下にスコープし、既存サイトCSSと衝突しないようにする
   ========================================================= */
.bagPage {
  --teal: #24bbb6;
  --teal-dark: #1aa39e;
  --teal-pale: #e6f7f6;
  --orange: #ff8800;
  --red: #e8382f;
  --yellow: #fff100;
  --ink: #333333;
  --gray: #888888;
  --line: #e0e0e0;
  --bg-soft: #f7f7f7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  padding-bottom: 8px;
}
.bagPage * { box-sizing: border-box; }
.bagPage a { text-decoration: none; color: inherit; }
.bagPage img { max-width: 100%; }

.cmn_pageTtl01:has(+ #productsWrapper) { margin-bottom: 0; }
@media screen and (min-width: 768px) {
  .cmn_pageTtl01:has(+ #productsWrapper[data-bag-modern="1"]) { margin-bottom: 12px; }
}

/* ===== HERO ===== */
.bagPage .bp-hero {
  position: relative;
  background: #eaf6f5;
  padding: 26px 18px 22px;
  overflow: hidden;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .bagPage .bp-hero { margin: 0 -30px; }
}
.bagPage .bp-hero picture {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.bagPage .bp-hero .bp-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.bagPage .bp-hero .in { position: relative; z-index: 2; text-align: left; }
.bagPage .bp-hero .l1 {
  font-size: 23px; font-weight: 900; color: var(--ink);
  line-height: 1.35; letter-spacing: .01em;
}
.bagPage .bp-hero .mk {
  background: linear-gradient(transparent 55%, var(--yellow) 55%);
}
.bagPage .bp-hero .pts {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 5px; margin-top: 14px;
}
.bagPage .bp-hero .pt {
  color: var(--teal);
  font-size: 13px; font-weight: 900; line-height: 1.35;
  padding: 0 0 0 10px;
  border-left: 4px solid var(--teal);
}
.bagPage .bp-hero .l4 {
  font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 16px;
}

/* ===== 導入・納期 ===== */
.bagPage .bp-intro {
  padding: 14px 0 14px; font-size: 11.5px; color: var(--ink); line-height: 1.8; margin: 0;
}
.bagPage .bp-deliv { margin: 0 auto; max-width: 640px; }
.bagPage .bp-deliv .dh {
  background: var(--teal); color: #fff; border-radius: 8px 8px 0 0;
  font-size: 12.5px; font-weight: 900; padding: 9px 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.bagPage .bp-deliv .dh svg { width: 14px; height: 14px; }
.bagPage .bp-deliv .db {
  border: 2px solid var(--teal); border-top: 0; border-radius: 0 0 8px 8px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 12px 8px; flex-wrap: wrap;
}
.bagPage .bp-deliv .dc { display: flex; align-items: baseline; gap: 7px; }
.bagPage .bp-deliv .dc .k { font-size: 11px; font-weight: 700; color: var(--ink); }
.bagPage .bp-deliv .dc .v { font-size: 19px; font-weight: 900; color: var(--red); }
.bagPage .bp-deliv .dc .v small { font-size: 12px; font-weight: 900; }
.bagPage .bp-dnote {
  padding: 8px 0 0; font-size: 9.5px; color: var(--ink); font-weight: 700; line-height: 1.7;
  margin: 0 auto; max-width: 640px;
}
.bagPage .bp-dnote a { color: var(--teal); }

/* ===== セクション見出し ===== */
.bagPage .bp-h {
  margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--teal);
  font-size: 15px; font-weight: 900; color: var(--ink);
  display: flex; align-items: center; gap: 7px; line-height: 1.4;
}
.bagPage .bp-h svg { width: 17px; height: 17px; color: var(--ink); flex: 0 0 auto; }
.bagPage .bp-lead {
  margin: -4px 0 12px; font-size: 11.5px; color: var(--ink); line-height: 1.7;
}

/* ===== お悩み解決 ===== */
.bagPage .bp-solve {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.bagPage .bp-sv {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 8px; text-align: center;
}
.bagPage .bp-sv .h {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.bagPage .bp-sv .ic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: #d9efe7; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bagPage .bp-sv .ic img {
  width: 22px; height: 22px; max-width: none; object-fit: contain; display: block;
}
.bagPage .bp-sv .h b {
  font-size: 10.5px; font-weight: 900; color: var(--ink); line-height: 1.5;
}
.bagPage .bp-sv p {
  font-size: 9px; color: var(--ink); line-height: 1.65; margin: 7px 0 0; text-align: left;
}

/* ===== 想いから探す ===== */
.bagPage .bp-pu-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.bagPage .bp-pu {
  --pu: #f08a3c; --pu-soft: rgba(240,138,60,.12);
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 11px 24px; position: relative; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.bagPage .bp-pu:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.bagPage .bp-pu .hd { display: flex; align-items: flex-start; gap: 7px; }
.bagPage .bp-pu .num {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; color: #fff;
  font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-top: 1px;
  background: var(--pu);
}
.bagPage .bp-pu .tt { font-size: 12px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.bagPage .bp-pu .ds { font-size: 10px; color: #5f7a80; line-height: 1.6; margin: 5px 0 8px; flex: none; }
.bagPage .bp-pu .ph {
  position: relative; aspect-ratio: 16/10; border-radius: 6px; overflow: hidden;
  background: #ececec;
}
.bagPage .bp-pu .ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 30% top; display: block;
}
.bagPage .bp-pu .scenes {
  margin: 10px 0 0; font-size: 10px; color: #999; font-weight: 500;
  flex: none; line-height: 1.4;
}
.bagPage .bp-pu .tags {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; padding-right: 18px;
}
.bagPage .bp-pu .tag {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 600; line-height: 1.4;
  color: var(--pu); background: var(--pu-soft);
}
.bagPage .bp-pu .tag[hidden] { display: none; }
.bagPage .bp-pu .arw {
  position: absolute; right: 11px; bottom: 10px;
  font-size: 11px; color: #b5bcc6; font-weight: 700; line-height: 1;
}
.bagPage .bp-pu.p1 { --pu: #f08a3c; --pu-soft: rgba(240,138,60,.12); }
.bagPage .bp-pu.p2 { --pu: #3d78c9; --pu-soft: rgba(61,120,201,.12); }
.bagPage .bp-pu.p3 { --pu: #2fa39a; --pu-soft: rgba(47,163,154,.12); }
.bagPage .bp-pu.p4 { --pu: #8a6cc9; --pu-soft: rgba(138,108,201,.12); }
.bagPage .bp-pu.p5 { --pu: #e05a5a; --pu-soft: rgba(224,90,90,.12); }
.bagPage .bp-pu.p6 { --pu: #e0b33c; --pu-soft: rgba(224,179,60,.14); }

/* ===== 大量配布バナー ===== */
.bagPage .bp-bulk {
  position: relative; display: block; margin: 16px auto 0; max-width: 720px;
  border: 1px solid #e8d290; border-radius: 10px;
  background: #fdf6e0;
  overflow: hidden;
}
.bagPage .bp-bulk .bp-bulk-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.bagPage .bp-bulk .in {
  position: relative; z-index: 2; padding: 17px 40px 15px 16px;
  text-shadow: 0 1px 8px rgba(255,255,255,.85);
}
.bagPage .bp-bulk .bt {
  font-size: 14px; font-weight: 900; color: var(--ink);
  text-align: center; line-height: 1.75; letter-spacing: .02em;
}
.bagPage .bp-bulk .bt .n { font-size: 19px; color: #a8821a; letter-spacing: 0; }
.bagPage .bp-bulk .bt .hl { color: #a8821a; }
.bagPage .bp-bulk .bs {
  font-size: 11px; font-weight: 700; color: #6b5d33;
  text-align: center; padding: 5px 4px 2px; letter-spacing: .03em;
}
.bagPage .bp-bulk .go {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; background: #c9a227; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(160,120,20,.3);
}
.bagPage .bp-bulk .go svg { width: 13px; height: 13px; }

/* ===== お悩みから探す ===== */
.bagPage .bp-worry {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start;
}
.bagPage .bp-wy {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 12px;
}
.bagPage .bp-wy .h { display: flex; align-items: center; gap: 8px; }
.bagPage .bp-wy .ic {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: #d9efe7; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bagPage .bp-wy .ic img {
  width: 16px; height: 16px; max-width: none; object-fit: contain; display: block;
}
.bagPage .bp-wy .h b {
  font-size: 11.5px; font-weight: 900; color: #17444c; line-height: 1.5; padding-top: 2px;
}

/* ===== 用途から探す ===== */
.bagPage .bp-use-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px;
}
.bagPage .bp-use { display: block; color: inherit; }
.bagPage .bp-use .ph {
  position: relative; aspect-ratio: 1/1; border-radius: 4px; overflow: hidden;
  background: #ececec;
}
.bagPage .bp-use .ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 25% center; display: block;
}
.bagPage .bp-use .tt {
  font-size: 13px; font-weight: 900; color: var(--ink); margin-top: 8px; line-height: 1.4;
}
.bagPage .bp-use p { font-size: 10.5px; color: var(--ink); line-height: 1.6; margin: 2px 0 0; }

/* ===== 種類から選ぶ ===== */
.bagPage .bp-kind-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 8px;
}
.bagPage .bp-kind {
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 4px 12px; text-align: center; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.bagPage .bp-kind:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.bagPage .bp-kind .kt {
  font-size: 11px; font-weight: 900; color: var(--ink); line-height: 1.4;
  min-height: 31px; display: flex; align-items: center; justify-content: center;
}
.bagPage .bp-kind .ph {
  height: 84px; display: flex; align-items: center; justify-content: center; margin: 6px 0 0;
}
.bagPage .bp-kind .ph img {
  max-width: 88%; max-height: 80px; width: auto; object-fit: contain;
}
.bagPage .bp-kind .ph svg { width: 68px; height: 68px; }
.bagPage .co { color: #e2743a; }
.bagPage .cb { color: #8c2733; }
.bagPage .cn { color: #37548f; }
.bagPage .cc { color: #d9cfb8; }
.bagPage .cd { color: #3a3f47; }

/* ===== 比較表（既存マークアップをモック準拠に） ===== */
.bagPage .comparison_wrap {
  max-width: 720px; margin: 0 auto 8px; padding: 0;
}
.bagPage .comparison_wrap .comparison-title { display: none; }
.bagPage .comparison_table {
  width: 100%; margin: 0; font-size: 9.5px; color: var(--ink);
  border-collapse: separate; border-spacing: 2px; white-space: normal;
}
.bagPage .comparison_table th,
.bagPage .comparison_table td {
  padding: 8px 4px; text-align: center; vertical-align: middle; line-height: 1.5;
}
.bagPage .comparison_table thead th {
  background: var(--bg-soft); color: var(--ink); font-weight: 700; border: 0;
}
.bagPage .comparison_table thead th.our_company {
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 900;
  border-radius: 4px 4px 0 0; border: 0;
}
.bagPage .comparison_table thead th.empty_cells { background: transparent; }
.bagPage .comparison_table .column_items th {
  background: var(--bg-soft); font-weight: 700; color: var(--ink); font-size: 9px; width: 27%; border: 0;
}
.bagPage .comparison_table .column_items td.other_company {
  background: var(--bg-soft); border: 0; color: var(--ink); font-size: inherit;
}
.bagPage .comparison_table .column_items td.other_company::after { display: none; }
.bagPage .comparison_table .column_items td.our_company {
  background: #fff; border-left: 2px solid var(--teal); border-right: 2px solid var(--teal);
  border-top: 0; border-bottom: 0; color: var(--ink); font-size: inherit;
}
.bagPage .comparison_table .column_items:last-child td.our_company { border-bottom: 2px solid var(--teal); }
.bagPage .comparison_table .price { font-size: 13px; font-weight: 900; color: var(--ink); }
.bagPage .comparison_table .currency { font-size: 8.5px; font-weight: 500; }
.bagPage .comparison_txt_table {
  width: 100%; font-size: 9px; color: var(--gray); line-height: 1.7; text-align: left;
}
.bagPage .comparison_tagline {
  margin: 10px 0 0; text-align: center; font-size: 11.5px; color: var(--gray); line-height: 1.7;
}
.bagPage .comparison_tagline .text_highlight,
.bagPage .comparison_tagline strong {
  font-size: 13.5px; font-weight: 900; color: var(--teal); background: transparent;
}

/* ===== 特集・サービス ===== */
.bagPage .bp-feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px;
}
.bagPage .bp-feat { display: block; color: inherit; }
.bagPage .bp-feat .ph {
  position: relative; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden;
  background: #ececec;
}
.bagPage .bp-feat .ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; display: block;
}
.bagPage .bp-feat b {
  display: block; font-size: 13px; font-weight: 900; color: var(--ink); margin-top: 8px; line-height: 1.45;
}
.bagPage .bp-feat small {
  display: block; font-size: 10.5px; font-weight: 500; color: var(--ink); line-height: 1.6; margin-top: 2px;
}

/* ===== 商品一覧見出しをモック準拠に ===== */
#productsWrapper[data-bag-modern="1"] h2.tw_h2 {
  margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #24bbb6;
  font-size: 15px; font-weight: 900; color: #333;
  display: flex; align-items: center; gap: 7px;
}
#productsWrapper[data-bag-modern="1"] h2.tw_h2 i { margin: 0; display: flex; }
#productsWrapper[data-bag-modern="1"] h2.tw_h2 i img { width: 17px; height: 17px; }

/* =================================================
   PC
   ================================================= */
@media screen and (min-width: 768px) {
  .bagPage .bp-hero { padding: 40px 48px 32px; }
  .bagPage .bp-hero .in { max-width: 58%; }
  .bagPage .bp-hero .l1 { font-size: 40px; line-height: 1.28; }
  .bagPage .bp-hero .pts { gap: 8px; margin-top: 20px; }
  .bagPage .bp-hero .pt { font-size: 18px; padding-left: 12px; border-left-width: 5px; }
  .bagPage .bp-hero .l4 { font-size: 16px; font-weight: 700; margin-top: 22px; }

  .bagPage .bp-intro { max-width: none; margin: 0 -30px; padding: 22px 0 18px; font-size: 13px; }
  .bagPage .bp-deliv .dh { font-size: 13.5px; }
  .bagPage .bp-deliv .dc .v { font-size: 22px; }
  .bagPage .bp-dnote { font-size: 10.5px; }

  .bagPage .bp-h { margin: 44px 0 14px; font-size: 19px; }
  .bagPage .bp-h svg { width: 21px; height: 21px; }
  .bagPage .bp-lead { margin: -4px 0 16px; font-size: 13px; }

  .bagPage .bp-solve { gap: 14px; }
  .bagPage .bp-sv { padding: 20px 18px; border-radius: 12px; text-align: left; }
  .bagPage .bp-sv .h { flex-direction: row; gap: 12px; text-align: left; }
  .bagPage .bp-sv .ic { width: 44px; height: 44px; }
  .bagPage .bp-sv .ic img { width: 26px; height: 26px; }
  .bagPage .bp-sv .h b { font-size: 14.5px; }
  .bagPage .bp-sv .h b br { display: none; }
  .bagPage .bp-sv p { font-size: 12px; margin-top: 10px; }

  .bagPage .bp-pu-grid { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .bagPage .bp-pu { padding: 16px 15px 28px; }
  .bagPage .bp-pu .num { width: 25px; height: 25px; font-size: 13px; }
  .bagPage .bp-pu .tt { font-size: 13.5px; }
  .bagPage .bp-pu .ds { font-size: 11px; }
  .bagPage .bp-pu .scenes { font-size: 10.5px; }
  .bagPage .bp-pu .tag { font-size: 10.5px; }
  .bagPage .bp-pu .arw { right: 15px; bottom: 12px; }

  .bagPage .bp-bulk .in { padding: 20px 56px 18px 24px; }
  .bagPage .bp-bulk .bt { font-size: 16px; }
  .bagPage .bp-bulk .bt .n { font-size: 23px; }
  .bagPage .bp-bulk .bs { font-size: 12px; }
  .bagPage .bp-bulk .go { width: 32px; height: 32px; right: 18px; }

  .bagPage .bp-worry { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .bagPage .bp-wy { padding: 15px 14px; }
  .bagPage .bp-wy .ic { width: 34px; height: 34px; }
  .bagPage .bp-wy .ic img { width: 18px; height: 18px; }
  .bagPage .bp-wy .h b { font-size: 12.5px; }

  .bagPage .bp-use-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 14px; }
  .bagPage .bp-use .tt { font-size: 14px; }
  .bagPage .bp-use p { font-size: 11px; }

  .bagPage .bp-kind-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }
  .bagPage .bp-kind { padding: 14px 8px 16px; }
  .bagPage .bp-kind .kt { font-size: 13px; min-height: 0; }
  .bagPage .bp-kind .kt br { display: none; }
  .bagPage .bp-kind .ph { height: 110px; }
  .bagPage .bp-kind .ph svg { width: 88px; height: 88px; }
  .bagPage .bp-kind .ph img { max-height: 100px; }

  .bagPage .comparison_table { font-size: 12px; }
  .bagPage .comparison_table thead th.our_company { font-size: 13.5px; }
  .bagPage .comparison_table .price { font-size: 16px; }
  .bagPage .comparison_table .column_items th { font-size: 11px; }
  .bagPage .comparison_txt_table { font-size: 10px; }
  .bagPage .comparison_tagline { font-size: 13px; }
  .bagPage .comparison_tagline .text_highlight,
  .bagPage .comparison_tagline strong { font-size: 15.5px; }
  .bagPage .br-sp { display: none; }

  .bagPage .bp-feat-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 14px; }
  .bagPage .bp-feat b { font-size: 13.5px; }
  .bagPage .bp-feat small { font-size: 11px; }

  #productsWrapper[data-bag-modern="1"] h2.tw_h2 { margin: 44px 0 14px; font-size: 19px; }
  #productsWrapper[data-bag-modern="1"] h2.tw_h2 i img { width: 21px; height: 21px; }
}

@media screen and (max-width: 767px) {
  .bagPage .bp-pu .scenes,
  .bagPage .bp-pu .tags { display: none; }
  .bagPage .bp-pu { padding-bottom: 22px; }
  .bagPage .comparison_inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bagPage .comparison_table { min-width: 480px; }
}

/* 既存 #productsBox h2 より詳細度を上げてモックの見出しを優先 */
#productsBox .bagPage .bp-h {
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #24bbb6;
  font-size: 15px;
  font-weight: 900;
  color: #333;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  #productsBox .bagPage .bp-h {
    margin: 44px 0 14px;
    font-size: 19px;
  }
}

/* 下部のレビュー・ガイド見出しも同じトーンに */
#productsWrapper[data-bag-modern="1"] .white > h2,
#productsWrapper[data-bag-modern="1"] .centerContentsWrapper > h2,
#productsWrapper[data-bag-modern="1"] .centerContentsWrapper > h3 {
  border-bottom: 2px solid #24bbb6;
  font-weight: 900;
  color: #333;
}
#productsWrapper[data-bag-modern="1"] .centerContentsWrapper > h3 {
  border-bottom: 1px solid #333;
  margin-top: 28px;
}
