@charset "UTF-8";
/*
 * 商品グループLPページ専用スタイル。
 * .fs-c-subgroup は既存クラスをセレクタとして参照するのみ（fs-parts側の定義は変更しない）。
 */
/* サブグループ一覧: PC時、通常版は中央揃えだがLPでは左寄せにする */
@media screen and (min-width: 640px) {
  .pt-lp .fs-c-subgroup {
    justify-content: flex-start;
    width: 100%;
  }
}

/* サブグループ一覧の margin: LPでは PC・SP とも 0。
   上余白は下の .pt-subGroupAndOsd（サブグループ一覧と「目的・成分から探す」ボタンの外枠）に持たせる */
.fs-l-main.pt-lp .fs-c-subgroup {
  margin: 0;
}

/* .pt-subGroupAndOsd: サブグループ一覧（.fs-c-subgroup）と詳細検索ドロワーを開くボタン（.pt-openSearchDrawerBtn）の外枠。
   SP は上下に並べ、PC（md以上）は左にサブグループ一覧・右にボタンを割り振る。
   上余白は SP が 0、PC が --pt-3（もともと .fs-c-subgroup に付けていた値をこちらへ移した） */
.pt-subGroupAndOsd {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  gap: var(--pt-px-2);
}
@media screen and (min-width: 900px) {
  .pt-subGroupAndOsd {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: var(--pt-3);
  }
}
.pt-subGroupAndOsd {
  /* サブグループ一覧: PC では残りの幅を使う（.pt-lp .fs-c-subgroup の width:100% を打ち消す） */
}
@media screen and (min-width: 900px) {
  .fs-l-main.pt-lp .pt-subGroupAndOsd .fs-c-subgroup {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}
.pt-subGroupAndOsd {
  /* ボタン: sm 以下（640px 未満）は全幅、PC（md 以上）は縮めず右端に置く（幅は既定の min(100%, 270px)） */
}
@media screen and (max-width: 639px) {
  .pt-subGroupAndOsd .pt-openSearchDrawerBtn {
    width: 100%;
  }
}
@media screen and (min-width: 900px) {
  .pt-subGroupAndOsd .pt-openSearchDrawerBtn {
    flex-shrink: 0;
  }
}

/* サブグループ_タグ一覧: 通常版はPC中央揃え/SP左揃えだが、LPではPC・SP共に左揃えにする */
.pt-lp .fs-c-subgroupList {
  justify-content: flex-start;
}