@charset "utf-8";
/* 全体コンテナ */
.ssw-container-inner {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f5f5f5;
  padding: 15px;
}

/* 各セクションのボックス */
.ssw-box {
  margin-bottom: 20px;
}
#header-inner .ssw-box h2{
  color:#333;
  font-size: 25px;
  text-align:center;
  max-width: 100%;
  font-weight: normal;
  margin: 35px 0  10px;
}
#header-inner .ssw-box h2:before{
  content:"";
  display:inline-block;
  width: 30px;
  height: 30px;
  margin:0 5px 0 0;
  vertical-align:middle;
  background:url(../img/icon-setting-pink.svg)no-repeat;
}
/* タイトル（シルエット、カラーなど） */
.ssw-grp-ttl {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  width: 120px;
}
.grp-cont{
  display:flex;
  flex-wrap: wrap;
  width: 91%;
}
/* タイトルの前のアイコン（デザインの二重丸を再現） */
.ssw-grp-ttl::before {
  content: "";
  color: #a37d7d; /* くすみ赤 */
  margin-right: 3px;
  font-size: 16px;
  background: url(../img/icon-circle.svg)no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
}

/* 検索窓エリア */
.ssw-row {
  display: flex;
  background: #fff;
  border-radius: 4px;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  margin-bottom: 15px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 5px;
  flex-wrap: wrap;
  padding: 0 10px;
  box-sizing: border-box;
}

input[type="text"].ssw-q {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  padding: 20px;
  font-size: 16px;
  /* width: 100px; */
  box-sizing: border-box;
}

.ssw-sbtn {
  background: url(../img/icon-search2.svg)no-repeat;
  border: none;
  padding: 0 17px;
  cursor: pointer;
  background-size: 60%;
  background-position: center;
  width: 50px;
}

/* フィルタエリアのグリッド配置 */
.ssw-grp {
  display: flex;
  flex-wrap: wrap;
  /* gap: 8px; */
  margin: 15px 0;
  width: 100%;
}

/* 各アイテム（label）をボタン化 */
.ssw-item {
  position: relative;
  /* flex: 0 0 calc(50% - 4px); */ /* 基本は2列 */
  cursor: pointer;
  width: fit-content;
  display: block;
  margin: 0 5px 5px 0;
  min-width: 100px;
}

/* ブランド名などの長い項目は1列にする（必要に応じて） */
.ssw-grp:last-of-type .ssw-item {
  flex: 0 0 100%;
}

/* チェックボックス本体は隠す */
.ssw-item input[type="checkbox"] {
  display: none;
}

/* ラベルの見た目 */
.ssw-lbl {
  display: block;
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 12px 10px;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.2s;
  border: 1px solid transparent;
  /* margin: 0 10px 10px 0; */
  min-width: 120px;
  box-sizing: border-box;
  line-height: 1.4;
}

/* チェックが入った時のスタイル */
.ssw-item input[type="checkbox"]:checked + .ssw-lbl {
  background-color: #4a0000; /* デザインの濃い赤 */
  color: #fff;
}

/* 下部アクションボタン固定エリア */
.ssw-acts {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  /* position: sticky; */
  bottom: 10px;
  z-index: 10;
  max-width: 650px;
  margin: 30px auto 0;
}

.ssw-reset,
.ssw-apply{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 15px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  border: none;
}
.ssw-apply {
  background-color: #4a0000;
  color: #fff;
}
.ssw-reset {
  background-color: #fff;
  color: #333;
  border:none;
}
.ssw-reset::before,
.ssw-apply::before {
  content: "";
  display:inline-block;
  width: 30px;
  height: 30px;
  background-size:contain;
  background-repeat:no-repeat;
  margin: 0 5px 0 0;
}
.ssw-reset::before {
  background-image:url(../img/icon-reset.svg);
}
.ssw-apply::before {
  background-image:url(../img/icon-search-white.svg);
}




/* タグ（選択中の条件表示） */
.ssw-tags {
  /* margin-bottom: 15px; */
  display: flex;
  flex-wrap: wrap;
  /* gap: 5px; */
  /* background: #fff; */
  /* padding: 10px; */
  box-sizing: border-box;
  justify-content: center;
}

.ssw-tag {
  background: #4a0000;
  padding: 8px 20PX;
  border-radius: 15px;
  font-size: 12px;
  margin: 3px;
  color: #fff;
}

/* アコーディオン制御用（元コードの関数と連動） */
.ssw-bd.hide {
  display: none;
}



/*個別調整 カラー*/
.ssw-grp:nth-of-type(4) input + span.ssw-lbl{
  text-align:left;
  width: 100%;
  max-width: 200px;
  display: flex;
  align-items: center;
}
.ssw-grp:nth-of-type(3) input + span.ssw-lbl:before{
    width: 20px;
    height: 20px;
}


@media screen and (max-width:1400px){
  /* 全体コンテナ */
.ssw-container-inner {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f5f5f5;
  padding: 15px;
}
#ssw{
  /* overflow-y:scroll; */
  /* height: 90%; */
  /* display: block; */
}
/* 各セクションのボックス */
.ssw-box {
  margin-bottom: 20px;
}
#header-inner .ssw-box h2{
  color:#333;
  font-size: 22px;
  text-align:center;
  max-width: 100%;
  font-weight: normal;
  margin: 25px 0  5px;
}
#header-inner .ssw-box h2:before{
  content:"";
  display:inline-block;
  width: 30px;
  height: 21px;
  margin:0 5px 0 0;
  vertical-align:middle;
  background:url(../img/icon-setting-pink.svg)no-repeat;
  background-position: center;
}
/* タイトル（シルエット、カラーなど） */
.ssw-grp-ttl {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  width: 130px;
}
.grp-cont{
  display:flex;
  flex-wrap: wrap;
  width: 100%;
}
/* タイトルの前のアイコン（デザインの二重丸を再現） */
.ssw-grp-ttl::before {
  content: "";
  color: #a37d7d; /* くすみ赤 */
  margin-right: 3px;
  font-size: 16px;
  background: url(../img/icon-circle.svg)no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
}

/* 検索窓エリア */
.ssw-row {
  display: flex;
  background: #fff;
  border-radius: 4px;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  margin-bottom: 15px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 5px;
  flex-wrap: wrap;
  padding: 0 10px;
  box-sizing: border-box;
}

input[type="text"].ssw-q {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  padding: 20px;
  font-size: 16px;
  /* width: 100px; */
  box-sizing: border-box;
}

.ssw-sbtn {
  background: url(../img/icon-search2.svg)no-repeat;
  border: none;
  padding: 0 17px;
  cursor: pointer;
  background-size: 60%;
  background-position: center;
  width: 50px;
}

/* フィルタエリアのグリッド配置 */
.ssw-grp {
  display: block;
  flex-wrap: wrap;
  /* gap: 8px; */
  margin: 15px 0;
  width: 100%;
}

/* 各アイテム（label）をボタン化 */
.ssw-item {
  position: relative;
  /* flex: 0 0 calc(50% - 4px); */ /* 基本は2列 */
  cursor: pointer;
  width: fit-content;
  display: block;
  margin: 0 0.5% 5px 0;
  min-width: unset;
}

/* ブランド名などの長い項目は1列にする（必要に応じて） */
.ssw-grp:last-of-type .ssw-item {
  flex: 0 0 100%;
}

/* チェックボックス本体は隠す */
.ssw-item input[type="checkbox"] {
  display: none;
}

/* ラベルの見た目 */
.ssw-lbl {
  display: block;
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 10px 10px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s;
  border: 1px solid transparent;
  /* margin: 0 10px 10px 0; */
  min-width: 120px;
  box-sizing: border-box;
}

/* チェックが入った時のスタイル */
.ssw-item input[type="checkbox"]:checked + .ssw-lbl {
  background-color: #4a0000; /* デザインの濃い赤 */
  color: #fff;
}

/* 下部アクションボタン固定エリア */
.ssw-acts {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  /* position: sticky; */
  bottom: 10px;
  z-index: 10;
  max-width: 650px;
  margin: 30px auto 0;
}

.ssw-reset,
.ssw-apply{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 15px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  border: none;
}
.ssw-apply {
  background-color: #4a0000;
  color: #fff;
}
.ssw-reset {
  background-color: #fff;
  color: #333;
  border:none;
}
.ssw-reset::before,
.ssw-apply::before {
  content: "";
  display:inline-block;
  width: 30px;
  height: 30px;
  background-size:contain;
  background-repeat:no-repeat;
  margin: 0 5px 0 0;
}
.ssw-reset::before {
  background-image:url(../img/icon-reset.svg);
}
.ssw-apply::before {
  background-image:url(../img/icon-search-white.svg);
}




/* タグ（選択中の条件表示） */
.ssw-tags {
  /* margin-bottom: 15px; */
  display: flex;
  flex-wrap: wrap;
  /* gap: 5px; */
  /* background: #fff; */
  /* padding: 10px; */
  box-sizing: border-box;
  justify-content: center;
}

.ssw-tag {
  background: #4a0000;
  padding: 8px 20PX;
  border-radius: 15px;
  font-size: 12px;
  margin: 3px;
  color: #fff;
}

/* アコーディオン制御用（元コードの関数と連動） */
.ssw-bd.hide {
  display: none;
}



/*個別調整 カラー*/
.ssw-grp:nth-of-type(3) input + span.ssw-lbl{
  text-align:left;
  width: 100%;
  max-width: 200px;
  display: flex;
  align-items: center;
}
.ssw-grp:nth-of-type(3) input + span.ssw-lbl:before{
    width: 20px;
    height: 20px;
}
}

@media screen and (max-width:1024px){
  /* 全体コンテナ */
.ssw-container-inner {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f5f5f5;
  padding: 15px;
}

/* 各セクションのボックス */
.ssw-box {
  margin-bottom: 20px;
}
#header-inner .ssw-box h2{
  color:#333;
  font-size: 22px;
  text-align:center;
  max-width: 100%;
  font-weight: normal;
  margin: 25px 0  10px;
}
#header-inner .ssw-box h2:before{
  content:"";
  display:inline-block;
  width: 30px;
  height: 21px;
  margin:0 5px 0 0;
  vertical-align:middle;
  background:url(../img/icon-setting-pink.svg)no-repeat;
  background-position: center;
}
/* タイトル（シルエット、カラーなど） */
.ssw-grp-ttl {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  width: 130px;
}
.grp-cont{
  display:flex;
  flex-wrap: wrap;
  width: 100%;
}
/* タイトルの前のアイコン（デザインの二重丸を再現） */
.ssw-grp-ttl::before {
  content: "";
  color: #a37d7d; /* くすみ赤 */
  margin-right: 3px;
  font-size: 16px;
  background: url(../img/icon-circle.svg)no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
}

/* 検索窓エリア */
.ssw-row {
  display: flex;
  background: #fff;
  border-radius: 4px;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  margin-bottom: 15px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 5px;
  flex-wrap: wrap;
  padding: 0 10px;
  box-sizing: border-box;
}

input[type="text"].ssw-q {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  padding: 20px;
  font-size: 16px;
  /* width: 100px; */
  box-sizing: border-box;
}

.ssw-sbtn {
  background: url(../img/icon-search2.svg)no-repeat;
  border: none;
  padding: 0 17px;
  cursor: pointer;
  background-size: 60%;
  background-position: center;
  width: 50px;
}

/* フィルタエリアのグリッド配置 */
.ssw-grp {
  display: block;
  flex-wrap: wrap;
  /* gap: 8px; */
  margin: 15px 0;
  width: 100%;
}

/* 各アイテム（label）をボタン化 */
.ssw-item {
  position: relative;
  /* flex: 0 0 calc(50% - 4px); */ /* 基本は2列 */
  cursor: pointer;
  width: 24%;
  display: block;
  margin: 0 1% 5px 0;
  min-width: unset;
}
.ssw-item:nth-child(4n) {
  margin-right: 0 ;
}

/* ブランド名などの長い項目は1列にする（必要に応じて） */
.ssw-grp:last-of-type .ssw-item {
  flex: 0 0 100%;
}

/* チェックボックス本体は隠す */
.ssw-item input[type="checkbox"] {
  display: none;
}

/* ラベルの見た目 */
.ssw-lbl {
  display: block;
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 10px 10px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s;
  border: 1px solid transparent;
  /* margin: 0 10px 10px 0; */
  min-width: unset;
  box-sizing: border-box;
}

/* チェックが入った時のスタイル */
.ssw-item input[type="checkbox"]:checked + .ssw-lbl {
  background-color: #4a0000; /* デザインの濃い赤 */
  color: #fff;
}

/* 下部アクションボタン固定エリア */
.ssw-acts {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  /* position: sticky; */
  bottom: 10px;
  z-index: 10;
  max-width: 650px;
  margin: 30px auto 0;
}

.ssw-reset,
.ssw-apply{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 15px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  border: none;
}
.ssw-apply {
  background-color: #4a0000;
  color: #fff;
}
.ssw-reset {
  background-color: #fff;
  color: #333;
  border:none;
}
.ssw-reset::before,
.ssw-apply::before {
  content: "";
  display:inline-block;
  width: 30px;
  height: 30px;
  background-size:contain;
  background-repeat:no-repeat;
  margin: 0 5px 0 0;
}
.ssw-reset::before {
  background-image:url(../img/icon-reset.svg);
}
.ssw-apply::before {
  background-image:url(../img/icon-search-white.svg);
}




/* タグ（選択中の条件表示） */
.ssw-tags {
  /* margin-bottom: 15px; */
  display: flex;
  flex-wrap: wrap;
  /* gap: 5px; */
  /* background: #fff; */
  /* padding: 10px; */
  box-sizing: border-box;
  justify-content: left;
}

.ssw-tag {
  background: #4a0000;
  padding: 8px 20px;
  border-radius: 15px;
  font-size: 12px;
  margin: 3px;
  color: #fff;
}

/* アコーディオン制御用（元コードの関数と連動） */
.ssw-bd.hide {
  display: none;
}



/*個別調整 カラー*/
.ssw-grp:nth-of-type(4) input + span.ssw-lbl{
  text-align:left;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}
.ssw-grp:nth-of-type(3) input + span.ssw-lbl:before{
    width: 20px;
    height: 20px;
}
}


@media screen and (max-width:768px){
  /* 全体コンテナ */
.ssw-container-inner {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f5f5f5;
  padding: 15px;
}

/* 各セクションのボックス */
.ssw-box {
  margin-bottom: 0;
}
.ssw-box:first-of-type {
  display:none;
}
#f-drawer .ssw-box h2{
  color:#333;
  font-size: 22px;
  text-align:center;
  max-width: 100%;
  font-weight: normal;
  margin: 0 0  10px;
  display: flex;
  justify-content: center;
}
#f-drawer .ssw-box h2:before{
  content:"";
  display:inline-block;
  width: 30px;
  height: 21px;
  margin:0 5px 0 0;
  vertical-align:middle;
  background:url(../img/icon-setting-pink.svg)no-repeat;
  background-position: center;
}
/* タイトル（シルエット、カラーなど） */
.ssw-grp-ttl {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  width: 130px;
}
.grp-cont{
  display:flex;
  flex-wrap: wrap;
  width: 100%;
  /* justify-content: space-between; */
}
  .ssw-grp:nth-of-type(2) .grp-cont{
    justify-content:space-between;
  }
/* タイトルの前のアイコン（デザインの二重丸を再現） */
.ssw-grp-ttl::before {
  content: "";
  color: #a37d7d; /* くすみ赤 */
  margin-right: 3px;
  font-size: 16px;
  background: url(../img/icon-circle.svg)no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
}

/* 検索窓エリア */
.ssw-row {
  display: flex;
  background: #fff;
  border-radius: 4px;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  margin-bottom: 15px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 5px;
  flex-wrap: wrap;
  padding: 0 0 0 10px;
  box-sizing: border-box;
}

input[type="text"].ssw-q {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  padding: 25px 5px;
  font-size: 16px;
  /* width: 100px; */
  box-sizing: border-box;
}

.ssw-sbtn {
  background: url(../img/icon-search2.svg)no-repeat;
  border: none;
  padding: 0 17px;
  cursor: pointer;
  background-size: 60%;
  background-position: center;
  width: 50px;
}

/* フィルタエリアのグリッド配置 */
.ssw-grp {
  display: block;
  flex-wrap: wrap;
  /* gap: 8px; */
  margin: 15px 0;
  width: 100%;
}

/* 各アイテム（label）をボタン化 */
.ssw-item {
  position: relative;
  /* flex: 0 0 calc(50% - 4px); */ /* 基本は2列 */
  cursor: pointer;
  width: 32.6%;
  display: block;
  margin: 0 1% 5px 0;
  min-width: unset;
}
.ssw-item:nth-child(4n) {
  margin-right: 1%;
}
.ssw-item:nth-child(3n) {
  margin-right: 0;
}
.ssw-grp:nth-of-type(2) .ssw-item {
  margin-right: 0;
}

/* ブランド名などの長い項目は1列にする（必要に応じて） */
.ssw-grp:last-of-type .ssw-item {
  flex: 0 0 100%;
}

/* チェックボックス本体は隠す */
.ssw-item input[type="checkbox"] {
  display: none;
}

/* ラベルの見た目 */
.ssw-lbl {
  display: block;
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 10px 10px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s;
  border: 1px solid transparent;
  /* margin: 0 10px 10px 0; */
  min-width: unset;
  box-sizing: border-box;
}

/* チェックが入った時のスタイル */
.ssw-item input[type="checkbox"]:checked + .ssw-lbl {
  background-color: #4a0000; /* デザインの濃い赤 */
  color: #fff;
}

/* 下部アクションボタン固定エリア */
.ssw-acts {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  /* position: sticky; */
  bottom: 6px;
  z-index: 10;
  max-width: 100%;
  margin: 30px auto 0;
  /* position: fixed; */
  border-top: none;
  padding: 20px 0 70px;
}

.ssw-reset,
.ssw-apply{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 15px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  border: none;
}
.ssw-apply {
  background-color: #4a0000;
  color: #fff;
}
.ssw-reset {
  background-color: #fff;
  color: #333;
  border:none;
}
.ssw-reset::before,
.ssw-apply::before {
  content: "";
  display:inline-block;
  width: 30px;
  height: 30px;
  background-size:contain;
  background-repeat:no-repeat;
  margin: 0 5px 0 0;
}
.ssw-reset::before {
  background-image:url(../img/icon-reset.svg);
}
.ssw-apply::before {
  background-image:url(../img/icon-search-white.svg);
}




/* タグ（選択中の条件表示） */
.ssw-tags {
  /* margin-bottom: 15px; */
  display: flex;
  flex-wrap: wrap;
  /* gap: 5px; */
  /* background: #fff; */
  /* padding: 10px; */
  box-sizing: border-box;
  justify-content: left;
}

.ssw-tag {
  background: #4a0000;
  padding: 8px 20PX;
  border-radius: 15px;
  font-size: 12px;
  margin: 2px;
  color: #fff;
}

/* アコーディオン制御用（元コードの関数と連動） */
.ssw-bd.hide {
  display: none;
}



/*個別調整 カラー*/
.ssw-grp:nth-of-type(3) input + span.ssw-lbl{
  text-align:left;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}
.ssw-grp:nth-of-type(3) input + span.ssw-lbl:before{
    width: 20px;
    height: 20px;
}
}



@media screen and (max-width:580px){
  /* 全体コンテナ */
.ssw-container-inner {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f5f5f5;
  padding: 15px;
}

/* 各セクションのボックス */
.ssw-box {
  margin-bottom: 0;
}
#f-drawer .ssw-box h2{
  color:#333;
  font-size: 18px;
  text-align:center;
  max-width: 100%;
  font-weight: normal;
  margin: 0 0  10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#f-drawer .ssw-box h2:before{
  content:"";
  display:inline-block;
  width: 30px;
  height: 20px;
  margin: 0 7px 0 0;
  vertical-align:middle;
  background:url(../img/icon-setting-pink.svg)no-repeat;
  background-position: center;
}
/* タイトル（シルエット、カラーなど） */
.ssw-grp-ttl {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  width: 130px;
}
.grp-cont{
  display:flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
/* タイトルの前のアイコン（デザインの二重丸を再現） */
.ssw-grp-ttl::before {
  content: "";
  color: #a37d7d; /* くすみ赤 */
  margin-right: 3px;
  font-size: 16px;
  background: url(../img/icon-circle.svg)no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
}

/* 検索窓エリア */
.ssw-row {
  display: flex;
  background: #fff;
  border-radius: 4px;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  margin-bottom: 15px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 5px;
  flex-wrap: wrap;
  padding: 0 0 0 10px;
  box-sizing: border-box;
}

input[type="text"].ssw-q {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  padding: 25px 5px;
  font-size: 16px;
  /* width: 100px; */
  box-sizing: border-box;
  height: 0;
}

.ssw-sbtn {
  background: url(../img/icon-search2.svg)no-repeat;
  border: none;
  padding: 0 17px;
  cursor: pointer;
  background-size: 60%;
  background-position: center;
  width: 50px;
}

/* フィルタエリアのグリッド配置 */
.ssw-grp {
  display: block;
  flex-wrap: wrap;
  /* gap: 8px; */
  margin: 15px 0;
  width: 100%;
}

/* 各アイテム（label）をボタン化 */
.ssw-item {
  position: relative;
  /* flex: 0 0 calc(50% - 4px); */ /* 基本は2列 */
  cursor: pointer;
  width: 49%;
  display: block;
  margin: 0 0 5px 0;
  min-width: unset;
}
.ssw-item:nth-child(4n) {
  margin-right: 0;
}
.ssw-item:nth-child(3n) {
  margin-right: 0;
}

/* ブランド名などの長い項目は1列にする（必要に応じて） */
.ssw-grp:last-of-type .ssw-item {
  flex: 0 0 100%;
}

/* チェックボックス本体は隠す */
.ssw-item input[type="checkbox"] {
  display: none;
}

/* ラベルの見た目 */
.ssw-lbl {
  display: block;
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 15px 5%;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.2s;
  border: 1px solid transparent;
  /* margin: 0 10px 10px 0; */
  min-width: unset;
  box-sizing: border-box;
}

/* チェックが入った時のスタイル */
.ssw-item input[type="checkbox"]:checked + .ssw-lbl {
  background-color: #4a0000; /* デザインの濃い赤 */
  color: #fff;
}

/* 下部アクションボタン固定エリア */
.ssw-acts {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  /* position: sticky; */
  bottom: 7px;
  z-index: 10;
  max-width: 100%;
  margin: 30px auto 0;
  /* position: fixed; */
  /* border-top: 1px solid #fff; */
  padding: 10px 0 60px;
  background: #f3f1ef;
}

.ssw-reset,
.ssw-apply{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 15px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  border: none;
}
.ssw-apply {
  /* background-color: #af6565; */
  color: #fff;
}
.ssw-reset {
  background-color: #fff;
  color: #333;
  border:none;
}
.ssw-reset::before,
.ssw-apply::before {
  content: "";
  display:inline-block;
  width: 20px;
  height: 20px;
  background-size:contain;
  background-repeat:no-repeat;
  margin: 0 5px 0 0;
}
.ssw-reset::before {
  background-image:url(../img/icon-reset.svg);
}
.ssw-apply::before {
  background-image:url(../img/icon-search-white.svg);
}




/* タグ（選択中の条件表示） */
.ssw-tags {
  /* margin-bottom: 15px; */
  display: flex;
  flex-wrap: wrap;
  /* gap: 5px; */
  /* background: #fff; */
  /* padding: 10px; */
  box-sizing: border-box;
  /* justify-content: center; */
}

.ssw-tag {
  background: #4a0000;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  margin: 2px;
  color: #fff;
}

/* アコーディオン制御用（元コードの関数と連動） */
.ssw-bd.hide {
  display: none;
}



/*個別調整 カラー*/
.ssw-grp:nth-of-type(3) input + span.ssw-lbl{
  text-align: center;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}
.ssw-grp:nth-of-type(3) input + span.ssw-lbl:before{
    width: 20px;
    height: 20px;
}
}