/* ====================================
   施工事例一覧ページ専用スタイル
   works-archive.css

   読み込み順を考慮した統合版
   1. style.css
   2. worksstyle.css
   3. infinite-scroll.css
   4. banner.css
   ==================================== */

/* ====================================
   1. 基本レイアウト
   ==================================== */

/* リセット（common.cssと重複しない部分のみ） */
* {
  box-sizing: border-box;
  font-family: "Roboto", "Arial", "Yu Gothic", "游ゴシック体", YuGothic,
    "游ゴシック Medium", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", メイリオ, sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: calc(1 / 1920 * 100vw);
}

body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.a-c {
  align-items: center;
}
.a-b {
  align-items: baseline;
}
.j-c {
  justify-content: center;
}
.j-b {
  justify-content: space-between;
}
.j-a {
  justify-content: space-around;
}
.container {
  width: 960px;
}
.sentence-space {
  display: inline-block;
  width: 20px;
}
a {
  text-decoration: none;
  color: #000;
}

/* メインエリア */
main {
  width: 100%;
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 13px;
}

main .container {
  margin-bottom: 80px;
  padding-bottom: 48px;
  position: relative;
}

.sMsg h2{
  font-size: 20px;
  font-weight: bold;
}

.search-container h2{
  font-size: 12px;
}

/* ====================================
   2. パンくずリスト
   ==================================== */

/* パンくずリスト共通スタイル */
#pankuzLink {
  font-size: 12px;
  padding: 5px 0 20px;
  line-height: 1.4;
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

#pankuzLink li {
  display: inline;
  padding: 0;
  margin: 0;
}

#pankuzLink li:after {
  content: ">";
  margin: 0 5px;
  color: #999;
}

#pankuzLink li:last-child:after {
  content: "";
}

#pankuzLink a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

#pankuzLink a:hover {
  color: #175fff;
  text-decoration: underline;
}

/* main後のパンくずスタイル */
body > .bBar {
  display: none;
  background-color: #fafaf5;
  width: 100%;
  padding: 12px 21px;
  font-size: 10px;
  color: #333333;
  border-top: 1px solid #DDDBD6;
}

main .bBar {
  display: none;
  background-color: #fafaf5;
  width: 100%;
  padding-inline: 21px;
  padding-block: 12px;
  font-size: 10px;
}

/* PC専用表示（スマホでは非表示） */
@media (max-width: 768px) {
  .pc-only,
  #pankuzLink.pc-only {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ====================================
   3. セクション見出し
   ==================================== */

.sectionHeader {
  margin: 40px 0 20px 0;
  padding: 0px 12px;
}

.sectionHeader h4 {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.sectionMarker {
  width: 4px;
  height: 20px;
  background: #6782ae;
  margin-right: 10px;
  display: inline-block;
}

/* ====================================
   4. ナビゲーションバー（お気に入りページ用）
   ==================================== */

.navBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.nav-actions {
  display: flex;
  gap: 20px;
}

.select-all-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select-all-wrapper input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.select-all-wrapper label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.btn-bulk-request,
.btn-clear-selection {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-bulk-request {
  background: #6782ae;
  color: #fff;
}

.btn-bulk-request:hover {
  background: #5a6f98;
}

.btn-clear-selection {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.btn-clear-selection:hover {
  background: #e8e8e8;
}

/* ====================================
   5. メインコンテンツエリア
   ==================================== */

/* メインパネル */
main .sPanel {
  margin-bottom: 30px;
}

main .sPanel .sMsgT {
  width: 100%;
  height: 58px;
  font-size: 20px;
  font-weight: bold;
  border-top: 2px solid #cccccc;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  color: #333333;
  padding-left: 10px;
  margin-bottom: 19px;
}

main .sPanel .sMsg p {
  font-size: 12px;
  font-weight: 300;
  color: #333333;
  padding-inline: 10px;
  margin-bottom: 19px;
}

main .sEvent {
  width: 100%;
  padding-inline: 15px;
  background-color: #f2f2f2;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
}

main .location {
  width: 100%;
  padding-right: 15px;
}

main .location img {
  width: 20px;
  margin-right: 7.5px;
}

main .mapLocation {
  width: 100%;
  padding-block: 7.5px;
}

main .homeG {
  width: 100%;
  padding-block: 7.5px;
}

main .mapLocation p {
  margin-right: 20px;
}

main .homeG p {
  margin-right: 20px;
}

/* 検索ボタン */
main .searchBtn {
  font-size: 12px;
  font-weight: 600;
  width: 130px;
  height: 32px;
  border: 1px solid #989483;
  border-radius: 16px;
  background-color: #ffffff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-sizing: border-box;
}

main .searchBtn img {
  width: 20px;
  height: 20px;
}

/* ボトムボタングループ */
.btnG {
  width: 100%;
  padding-inline: 82px;
}

.btnG a {
  width: 600px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: #ff7c00;
}

.btnG p:nth-of-type(1) {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}

.btnG span {
  font-size: 18px;
}

.btnG p:nth-of-type(2) {
  background-color: #fcf7db;
  padding-inline: 4px;
  padding-block: 2px;
  color: #424031;
  font-size: 11px;
  border-radius: 3px;
  margin-left: 4px;
  font-weight: 600;
}

main .btnG {
  width: 100%;
  gap: 25px;
}

main .btnG a {
  width: 300px;
  height: 47px;
  border: 1px solid #6782ae;
  color: #6782ae;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

main .btnG a:nth-of-type(1) {
  color: #ffffff;
  border: none;
  border-radius: 4px;
  background-color: #ff7c00;
}

/* ユーティリティクラス */
.displayFlex {
  display: flex !important;
}
.displayNone {
  display: none !important;
}
.displayBlock {
  display: block !important;
}
.arisingUp {
  position: fixed;
  bottom: 0;
  z-index: 1000;
}

/* ====================================
   6. 検索・フィルター機能
   ==================================== */

/* 検索コンテナ */
.search-container {
  display: none;
  padding-inline: 50px;
  margin-top: 12px;
  background-color: #ffffff;
  padding-top: 12px;
}

.search-container p {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
  color: #333333;
}

.search-box {
  position: relative;
  border: 2px solid #a6a193;
  border-radius: 8px;
  background-color: #fff;
  padding: 10px 12px 10px 40px;
  margin-bottom: 8px;
}

.search-box input {
  border: none;
  width: 100%;
  font-size: 16px;
  outline: none;
  background: transparent;
}

.icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #333333;
  justify-content: space-between;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border: 1px solid #989483;
  border-radius: 16px;
  background: #FFFFFF;
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  width: 105px;
  height: 32px;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  line-height: 1.42;
  border-style: solid;
  outline: none;
}

.filter-button:hover {
  background: #F8F8F8;
  border-color: #6782AE;
  transition: all 0.2s ease;
}

.filter-button:active {
  background: #F0F0F0;
  transform: translateY(1px);
}

.filter-container img,
.filter-button img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sort-options {
  font-size: 10px;
}

.sort-options span {
  font-size: 10px;
  cursor: pointer;
}

.sort-options span.active {
  font-weight: bold;
  border-bottom: 2px solid #6782ae;
}

.result-count {
  font-size: 12px;
  color: #444;
  padding-block: 4px;
}

.result-count .count {
  color: #6782ae;
  font-weight: bold;
}

/* Bubble Container */
.bubble-container {
  display: none !important;
  position: relative;
  background-color: #5a7ba5;
  color: white;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: bold;
  width: 100%;
  display: flex;
  justify-content: center;
}

.bubble-container::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #5a7ba5;
}

.bubble-container-top {
  display: none;
}

.bubble-container-bottom {
  display: block;
}

/* Fixed Search Button at Bottom */
.search-results-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #FF7C00;
  color: white;
  border: none;
  padding: 16px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  z-index: 1000;
  display: none;
  cursor: pointer;
  text-transform: uppercase;
}

.search-results-button.show {
  display: block;
}

/* ====================================
   7. フィルターエリア
   ==================================== */

/* メインフィルターエリア */
.filterArea {
  width: 100%;
  display: none;
  background-color: #F2F2F2;
}

.filterArea.displayFlex {
  display: flex !important;
}

.filter-arear-close {
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 40px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

/* フィルターエリア内のボタン */
.filterArea .filter-button {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border: 1px solid #989483;
  border-radius: 16px;
  background: #FFFFFF;
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  width: 105px;
  height: 32px;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  line-height: 1.42;
  border-style: solid;
  outline: none;
}

.filterArea .filter-button:hover {
  background: #F8F8F8;
  border-color: #6782AE;
  transition: all 0.2s ease;
}

.filterArea .filter-button:active {
  background: #F0F0F0;
  transform: translateY(1px);
}

/* フォームセクション */
form section {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #222;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

form section:last-child {
  border-bottom: none;
}

.sectionT {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 0 0;
  color: #333333;
  width: 14%;
  flex-shrink: 0;
  line-height: 1.2;
  margin-right: 25px;
}

.sectionT img {
  width: 20px;
  height: auto;
}

.checkbox-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-bottom: 5px;
}

.checkbox-group label {
  font-size: 13px;
  display: flex;
  align-items: baseline;
  width: 30%;
}

.checkbox-group label input {
  margin-right: 5px;
}

/* セクションチェックボックス */
.section-checkbox {
  width: 100%;
  max-width: 960px;
  border-bottom: 2px solid #333;
  padding: 20px 11px;
  display: flex;
  color: #333333;
  background-color: #ffffff;
}

.row {
  display: flex;
  align-items: center;
  padding-inline: 10px;
  padding-block: 6px;
}

.row label {
  margin-left: 8px;
  margin-right: 16px;
  font-size: 15px;
  color: #6782ae;
  font-weight: 600;
}

.toggle-btn {
  color: #0070f3;
  cursor: pointer;
  margin-left: auto;
  font-size: 16px;
  font-weight: bold;
}

.area-list {
  display: none;
  margin-top: 10px;
  padding-inline: 10px;
}

.area-list.active {
  display: block;
}

.area-group {
  margin-bottom: 16px;
  font-size: 13px;
}

.area-group-title {
  font-weight: bold;
  margin-top: 8px;
}

.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0px;
  margin-left: 10px;
  padding-block: 20px;
}

.checkbox-list label {
  min-width: 25%;
}

.sectionC {
  margin-left: 22px;
  border-bottom: 1px solid #333333;
}

.section-boxG {
  width: 100%;
}

.underLine {
  border-bottom: 1px solid #cccccc;
}

.s-bc {
  font-size: 15px;
  font-weight: 600;
  width: 130px;
}

/* 閉じるボタン */
main .container .closeBtn {
  width: 35px;
  position: absolute;
  top: 10px;
  right: 15px;
  display: none;
}

/* ====================================
   8. カードレイアウト
   ==================================== */

/* カード基本 */
.card {
  display: flex;
  background: #fff;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 20px auto;
}

/* カード画像スライダー */
.card-image-slider {
  position: relative;
  width: 300px;
  height: 230px;
  overflow: hidden;
  flex-shrink: 0;
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.image-wrapper img.active {
  opacity: 1;
  z-index: 1;
}

.dots {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #6782ae;
}

/* カードコンテンツ */
.card-content {
  padding-top: 12px;
  padding-bottom: 4px;
  padding-left: 20px;
  flex: 1;
}

/* h2タグのデフォルトスタイルをリセット */
.card-content h2 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.card-content .card-contentT {
  font-size: 24px;
  font-weight: bold;
}

main .card-content p {
  font-size: 14px;
  font-weight: bold;
}

/* 価格表示 */
.price {
  font-size: 24px;
  color: #e6541c;
  font-weight: bold;
}

.unit {
  font-size: 14px;
}

/* タグ */
.tag {
  display: inline-block;
  background: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 3px;
  margin-right: 8px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

main .tag span {
  color: #ffffff;
  background-color: #888888;
  padding: 2px;
  border-radius: 3px;
}

/* カードトップ部分 */
main .checkC {
  padding-block: 12.5px;
  padding-inline: 8px;
  margin-right: 8px;
  background-color: #dddbd6;
}

main .topL a {
  font-size: 16px;
  font-weight: 600;
}

main .topR {
  width: 124px;
  height: 35px;
  border: 1px solid #989483;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #333333;
}

main .topR button {
  border: none;
  background-color: #ffffff;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
}

main .topR a {
  color: #333333;
}

/* お気に入りボタン */
.favorite-btn {
  width: 17px;
  height: 20px;
  cursor: pointer;
  fill: none;
  stroke: #000000;
  stroke-width: 1;
  margin-right: 17px;
}

.favorite-btn.active {
  fill: #6782ae;
  stroke: #6782ae;
}

.favorite-btn.mobile-only {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.favorite-btn .favorite-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* カードテキストグループ */
.card-txt-group {
  display: flex !important;
  align-items: center;
  column-gap: 1em !important;
  margin-top: 8px;
  font-size: 12px;
}

main .cardG .card-txt-group {
  display: flex !important;
  align-items: center;
  column-gap: 1em !important;
  font-size: 12px;
}

.card-txt {
  display: flex !important;
  align-items: center;
  gap: 0.3em;
  font-size: 12px;
}

@supports not (gap: 1em) {
  .card-txt-group .card-txt:not(:last-child) {
    margin-right: 1em;
  }
}

.card-txt p:first-child {
  font-weight: bold;
  margin: 0;
}

.card-txt p:last-child {
  font-weight: normal;
  margin: 0;
}

/* bTxtスタイル（土地・建売カード用） */
.bTxt {
  padding: 8px 0px;
  font-size: 12px;
}

.bTxt_content {
  margin-bottom: 0px;
  line-height: 1.5;
}

.bTxt_content:last-child {
  margin-bottom: 0;
}

.bTxt_content.flex {
  display: flex;
  gap: 1em;
}

.bTxt_content p {
  margin: 0;
  font-weight: bold;
}

.bTxt_content p span {
  font-weight: normal;
  margin-left: 0.5em;
}

/* スマホ用カードスタイル */
main .cardG_sp {
  display: none;
  width: 100%;
  background-color: #fafaf5;
  padding-bottom: 22px;
}

main .cardG_sp .cardImgG img {
  width: 50%;
}

main .cardG_sp .card-content {
  padding-inline: 20px;
  gap: 4px;
}

main .cardG_sp .topL p {
  font-size: 14px;
  font-weight: 600;
}

main .cardG_sp .card-contentT {
  font-size: 14px;
}

main .cardG_sp .tag {
  font-size: 10px;
}

main .topR_sp img {
  width: 17px;
  margin-right: 17px;
}

main .card_sp {
  background-color: #ffffff;
  padding-bottom: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
}

/* ====================================
   9. モーダル・ポップアップ
   ==================================== */

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.modal-content h2,
.modal h2 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}

.modal-content .btn {
  margin: 0 10px;
  padding: 10px 20px;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  border: none;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-confirm {
  background: #ff4444;
  color: #fff;
}

.btn-confirm:hover {
  background: #cc3333;
}

.btn-cancel {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.btn-cancel:hover {
  background: #e0e0e0;
}

/* ====================================
   10. 固定ボタン
   ==================================== */

/* 固定リクエストボタン */
.fixed-request-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 78px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.fixed-button-content {
  background: #FF7C00;
  width: 600px;
  height: 50px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 4px;
  padding: 16px 59px;
  box-sizing: border-box;
  font-family: 'Noto Sans', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.selected-count {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.36;
  text-transform: uppercase;
  text-align: center;
}

.free-label {
  background: #FCF7DB;
  border-radius: 2.63px;
  padding: 0 4px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  position: absolute;
  right: 20px;
}

.free-label span {
  color: #424031;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

/* ====================================
   11. 無限スクロール・ページネーション
   ==================================== */

/* ページラッパー */
.listitempage {
  margin-bottom: 20px;
}

/* ローディングインジケーター */
.loading-indicator {
  display: none !important;
  text-align: center;
  padding: 40px 20px;
  margin: 20px 0;
  position: relative;
  width: 100%;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

.loading-indicator.show {
  display: block !important;
}

.loading-spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #E94B08;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes infiniteScrollSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-indicator p {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

/* ページネーションリンク */
.pagination-links {
  text-align: center;
  margin: 40px 0;
  padding: 20px 0;
  width: 100%;
  position: relative;
  min-height: 60px;
}

.pagination-links.hidden {
  display: none !important;
}

.next-page-link {
  display: inline-block;
  padding: 12px 24px;
  background: #E94B08;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.next-page-link:hover {
  background: #d43f00;
}

.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.page-number {
  display: inline-block;
  padding: 8px 12px;
  color: #1C1A10;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
}

.page-number:hover {
  background: #f5f5f5;
}

.page-number.active {
  background: #1C1A10;
  color: #fff;
  border-color: #1C1A10;
}

/* ====================================
   12. バナー表示
   ==================================== */

/* バナー表示用CSS */
.archive-banner {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}

.archive-banner a {
  display: block;
  width: 100%;
}

.archive-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* PC版バナー - パンくずの直下に表示 */
.archive-banner-pc {
  display: block;
  margin-bottom: 20px;
}

/* スマホ版バナー - ヘッダーの直下に表示 */
.archive-banner-sp {
  display: none;
  margin-bottom: 15px;
}

/* ====================================
   13. レンジスライダー
   ==================================== */

/* Range Slider Styles */
.range-slider-container {
  margin: 20px 0;
}

.range-slider-wrapper {
  position: relative;
  margin: 10px 0;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e5e5e5;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #333333;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.range-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #333333;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.range-value {
  position: absolute;
  top: -40px;
  background: #333333;
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  white-space: nowrap;
  transform: translateX(-50%);
  display: none;
}

.range-value.show {
  display: block;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* スライダーコンテナ */
.slider-container {
  margin-bottom: 40px;
  position: relative;
  background: #fff;
  padding: 20px;
  padding-left: 20px;
  border-radius: 8px;
  display: flex;
  align-items: baseline;
}

.label {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 18px;
}

.range-wrapper {
  position: relative;
  height: 40px;
  width: 100%;
}

input[type="range"] {
  position: absolute;
  width: 100%;
  height: 35px;
  cursor: pointer;
  pointer-events: none;
  background: transparent;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4a74c9;
  border: none;
  -webkit-appearance: none;
}

.range-track {
  position: absolute;
  top: 50%;
  height: 4px;
  background: #ccc;
  width: 100%;
  transform: translateY(-50%);
  z-index: 0;
}

.range-active {
  position: absolute;
  top: 50%;
  height: 4px;
  background: #4a74c9;
  z-index: 1;
  transform: translateY(-50%);
}

.value-label {
  position: absolute;
  top: -20px;
  background: #333;
  color: white;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 12px;
  white-space: nowrap;
}

.label-right {
  right: 0;
}

/* デュアルスライダー */
.dual-slider-group {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  height: 60px;
}

.dual-slider-track {
  position: relative;
  width: 80%;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  margin: 0 auto;
}

.dual-slider-range {
  position: absolute;
  height: 8px;
  background: #4a6bb6;
  border-radius: 4px;
  z-index: 1;
}

.dual-slider-thumb {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  background: #4a6bb6;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

/* NoUISlider関連 */
#budgetSliderGroup .slider-group,
#tsuboSliderGroup .slider-group {
  display: none;
}

.nouislider-label-group {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-bottom: 0;
}

.nouislider-label-group h3 {
  width: 180px;
  margin: 0 0 0 0;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  flex-shrink: 0;
}

#budgetSlider,
#tsuboSlider {
  margin-left: 0;
  margin-right: 0;
  min-width: 200px;
  max-width: 600px;
}

.slider-divider {
  border: none;
  border-top: 2px solid #222;
  margin: 18px 0;
}

/* Custom noUiSlider styles */
.noUi-target {
  background: #e5e5e5;
  border-radius: 4px;
  border: none;
  box-shadow: none;
  height: 8px;
}

.noUi-connect {
  background: #4a6bb6;
  height: 8px;
}

.noUi-horizontal .noUi-handle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4a6bb6;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  top: -10px;
  cursor: pointer;
}

.noUi-handle:after,
.noUi-handle:before {
  display: none;
}

.noUi-tooltip {
  background: #222;
  color: #fff;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  border: none;
  top: -38px;
  left: 50%;
  transform: translate(-50%, 0);
  position: absolute;
}

.noUi-horizontal .noUi-tooltip:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

.noUi-pips {
  font-size: 12px;
  color: #888;
}

/* Remove old dual-slider styles for these sections */
#budgetSliderGroup,
#tsuboSliderGroup,
.dual-slider-group,
.dual-slider-track,
.dual-slider-range,
.dual-slider-thumb,
.slider-label {
  display: none !important;
}

/* ====================================
   14. レスポンシブ対応
   ==================================== */

/* 1024px以下 */
@media (max-width: 1024px) {
  html {
    scroll-behavior: smooth;
    font-size: calc(1 / 1024 * 100vw);
  }
}

/* 965px以下 */
@media (max-width: 965px) {
  html {
    font-size: calc(1 / 965 * 100vw);
  }
  .slider-container {
    height: 300px;
  }
  .container {
    width: 750px;
  }
  main .contentE {
    padding-inline: 75px;
  }
}

/* 768px以下 - スマホ版メイン */
@media (max-width: 768px) {
  html {
    font-size: calc(1 / 768 * 100vw);
  }
  .container {
    width: 100%;
  }

  /* メインコンテナ */
  main {
    margin-top: 0;
  }
  main .container {
    background-color: #fafaf5;
    margin-bottom: 0;
    padding-bottom: 60px;
  }
  main .bBar {
    display: block;
  }
  body > .bBar {
    display: block !important;
  }
  main .sPanel {
    display: none;
  }
  main .spN {
    display: none;
  }
  .topBar {
    display: none !important;
  }
  /* ナビゲーションバー */
  .navBar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 10px;
  }
  .nav-actions {
    flex-direction: row;
    gap: 10px;
    align-items: center;
    width: 100%;
  }
  .select-all-wrapper {
    flex-shrink: 0;
  }
  .select-all-wrapper label {
    font-size: 13px;
    white-space: nowrap;
  }
  .action-buttons {
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
  }
  .btn-bulk-request,
  .btn-clear-selection {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .btn-bulk-request {
    flex-shrink: 0;
  }
  .btn-clear-selection {
    flex-shrink: 0;
  }

  /* 固定ボタン */
  .fixed-button-content {
    padding: 12px 16px;
  }
  .selected-count {
    font-size: 14px;
  }
  .free-label {
    right: 16px;
  }
  .fixed-request-button {
    width: 100%;
    left: 0;
    padding: 0 12.5px;
  }
  .fixed-button-content {
    width: 100%;
    margin: 0 auto;
  }

  /* セクションヘッダー */
  .sectionHeader h4 {
    font-size: 15px;
  }

  /* 検索コンテナ */
  .search-container {
    display: block;
  }
  .filter-container {
    gap: 4px;
  }

  /* Bubble Container */
  .bubble-container {
    display: flex !important;
  }
  .bubble-container-top {
    display: block;
    position: relative;
    background: #6782AE;
    color: #FFFFFF;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    border: none;
    box-shadow: none;
  }
  .bubble-container-bottom {
    display: none;
  }

  /* バナー */
  .archive-banner-pc {
    display: none;
  }
  .archive-banner-sp {
    display: block;
  }

  /* ボタングループ */
  .btnG {
    display: block;
    padding-inline: 13px;
  }
  .btnG a {
    width: 100%;
  }

  /* カードレイアウト - スマホ版 */
  main .cardG {
    display: block !important;
    width: 100%;
    background-color: #fafaf5;
    padding-bottom: 15px;
  }

  /* スライダーを完全に非表示 */
  main .cardG .card-image-slider {
    display: none !important;
  }

  /* スマホ版画像表示 */
  main .cardG .cardImgG {
    display: flex !important;
    width: 100%;
    gap: 0 !important;
  }
  main .cardG .cardImgG img {
    width: 50%;
    height: 140px;
    object-fit: cover;
    border-radius: 0;
  }

  /* カード全体のスタイル */
  main .cardG .card {
    background-color: #ffffff !important;
    border-radius: 0 !important;
    margin-bottom: 8px;
    box-shadow: 0px 1.5px 8.5px 0px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    width: 100%;
    padding: 0;
    overflow: hidden;
    position: relative;
  }

  /* カードトップ部分の調整 */
  main .cardG .cardTop {
    background-color: #ffffff;
    padding: 0;
    border-bottom: none;
    position: relative;
    margin: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 48px;
  }

  /* チェックボックスコンテナ */
  main .cardG .checkC {
    background-color: #DDDBD6;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    height: 100%;
    min-height: 48px;
  }

  main .cardG .checkC input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid #808080;
    border-radius: 2px;
  }

  /* 会社名/工務店名のスタイル */
  main .cardG .topL {
    padding: 0px;
    display: flex;
    align-items: center;
    flex: 1;
    width: auto;
    margin-right: 65px;
    min-width: 0;
    gap: 8px;
  }

  main .cardG .topL p,
  main .cardG .topL a {
    font-size: 14px;
    font-weight: 700;
    color: #1C1A10;
    line-height: 1.36;
    margin: 0;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 30px);
    display: inline-block;
  }

  /* お気に入りボタンの調整 */
  main .cardG .topR {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
    width: 17px;
    height: 20px;
  }

  .favorite-btn.mobile-only {
    display: flex;
  }
  .topR button:not(.favorite-btn) {
    display: none !important;
  }
  .topR .favorite-btn {
    display: flex !important;
  }

  /* カードコンテンツのflexレイアウト調整 */
  main .cardG .cardC {
    flex-direction: column;
  }

  main .cardG .card-content {
    padding: 9px 20px 15px 20px;
    gap: 0px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* カード説明文のスタイル */
  main .cardG .card-contentT {
    font-size: 14px;
    color: #333333;
    font-weight: 700;
    line-height: 1.36;
    margin-bottom: 4px;
  }

  /* 価格情報を1行に表示 */
  main .cardG .price-info {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 4px;
  }

  /* 価格・坪単価ラベルのスタイル */
  main .cardG .card-content p {
    font-size: 10px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.36;
    display: inline-flex;
    align-items: baseline;
     flex-wrap: wrap;
  }

  .style-info p span {
    font-weight: normal;
  }

  .style-info p span + span::before {
    content: "・";
  }
  .style-info p{font-weight: nomal;}
  .style-info p:first-of-type::after {
    content: "　";
  }

  .style-info p span:first-of-type {
    margin-left: 0.5em;
  }

  /* 価格表示のスタイル調整 */
  main .cardG .price {
    font-size: 14px;
    font-weight: 700;
    color: #E94B08;
    margin-left: 4px;
  }

  main .cardG .unit {
    font-size: 10px;
    font-weight: 700;
    color: #E94B08;
  }

  /* タグのスタイル調整 */
  main .cardG .tag {
    font-size: 10px;
    font-weight: 700;
    background-color: transparent;
    color: #1C1A10;
    padding: 4px;
    border: 1px solid #DDDBD6;
    border-radius: 4px;
    margin-right: 4px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  main .cardG .tag span {
    font-size: 10.5px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #888888;
    padding: 0 4px;
    border-radius: 2.63px;
    line-height: 15px;
    display: inline-block;
  }

  /* タグコンテナの調整 */
  main .cardG .tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
  }

  main .cardG_sp {
    display: none;
  }

  /* 検索結果数の調整 */
  .result-count {
    padding: 10px 15px;
  }
  .result-count .count {
    font-size: 14px;
  }

  /* スマホ版のcard-txtスタイル調整 */
  .card-txt-group {
    font-size: 12px;
    column-gap: 1em !important;
  }
  .card-txt p:first-child {
    font-size: 12px;
  }
  .card-txt p:last-child {
    font-size: 12px;
  }

  /* スマホ版のbTxtスタイル調整 */
  .bTxt {
    padding: 0px;
    font-size: 11px;
  }
  .bTxt_content p {
    font-size: 11px;
  }

  /* フィルターエリア */
  main .filterArea .container {
    background-color: rgba(28, 26, 16, 0.8);
    padding-top: 52px;
    position: relative;
    margin-bottom: 15px;
  }
  main .container .closeBtn {
    display: block;
  }
  form section {
    display: block;
  }
  .sectionT {
    width: 100%;
    padding: 10px;
    background-color: #e6e6e6;
    margin-right: 0;
  }
  .sectionT p {
    border-left: 3px solid #4a6bb6;
    padding-left: 8px;
    margin-right: 10px;
  }
  .rangeBar .sectionT {
    margin-bottom: 45px;
  }
  .checkbox-group {
    padding-top: 10px;
  }
  .checkbox-group label {
    width: 45%;
  }
  main #filterForm {
    padding: 13px 11px;
  }
  main .btnG a:nth-of-type(2),
  main .btnG a:nth-of-type(3) {
    display: none;
  }
  main .btnG a:nth-of-type(1) {
    margin-bottom: 100px;
  }

  /* ページネーション */
  .pagination-links {
    display: none !important;
  }

  /* モバイル対応 */
  .page-numbers {
    gap: 4px;
  }
  .page-number {
    padding: 6px 10px;
    font-size: 14px;
  }
  .next-page-link {
    width: 100%;
    max-width: 300px;
  }
}

/* デスクトップ版でのcardImgG非表示 */
@media (min-width: 769px) {
  main .cardG .cardImgG {
    display: none !important;
  }
  main .cardG .card-image-slider {
    display: block !important;
    width: 300px;
    height: 230px;
    flex-shrink: 0;
  }
  main .cardG .cardC {
    flex-direction: row !important;
  }
  /* PC版のみprice-infoに上下余白を追加 */
  main .cardG .price-info {
    margin-top: 12px;
    margin-bottom: 12px;
  }
  /* PC版でcard-txt-groupの間隔を確実に適用 */
  main .cardG .card-txt-group,
  .card-txt-group {
    display: flex !important;
    align-items: center !important;
    column-gap: 1em !important;
    font-size: 12px !important;
  }
  /* card-txt要素も確実にflexを適用 */
  main .cardG .card-txt,
  .card-txt {
    display: flex !important;
    align-items: center !important;
    font-size: 12px !important;
  }
  /* PCではmobile-onlyを非表示 */
  .favorite-btn.mobile-only {
    display: none !important;
  }
}

/* PC版（1025px以上）では確実に画像スライダーを表示 */
@media (min-width: 1025px) {
  main .cardG .card-image-slider {
    display: block !important;
    position: relative;
    width: 300px;
    height: 230px;
    overflow: hidden;
    flex-shrink: 0;
  }
  main .cardG .cardImgG {
    display: none !important;
  }
}

/* 700px以下 */
@media (max-width: 700px) {
  .filterArea .container {
    padding: 10px;
  }
  .checkbox-group {
    gap: 8px 10px;
  }
  .slider-group input[type="range"] {
    width: 100px;
  }
}

/* 500px以下 */
@media (max-width: 500px) {
  .search-container {
    padding-inline: 10px;
  }
  .search-container p {
    font-size: 12px;
  }
  .filterArea .container {
    padding: 3px;
  }
  .section-checkbox {
    flex-direction: column;
  }
  .s-bc {
    width: 100%;
  }
  .btnG {
    padding-inline: 13px;
  }
}

/* 480px以下 */
@media (max-width: 480px) {
  .filterArea .container {
    max-width: 98%;
    margin: 1% auto;
  }
  .searchT {
    padding: 20px 15px 15px;
  }
  .searchT p:first-child {
    font-size: 16px;
  }
  .range-wrapper {
    margin: 15px 0;
  }
  .search-results-button {
    bottom: 15px;
    padding: 12px 25px;
    font-size: 15px;
  }
  .dual-range-slider,
  .slider-labels {
    width: 85%;
  }
}

/* ====================================
   15. モバイルフィルターモーダル
   ==================================== */

/* Mobile Filter Modal (Bottom Sheet) */
.filter-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
}

.filter-modal.show {
  display: block;
}

.filter-modal-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Filter Modal Header */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E5E5;
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 10;
}

.filter-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1C1A10;
  margin: 0;
}

.close-filter {
  font-size: 24px;
  color: #666666;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Filter Modal Body */
.filter-body {
  padding: 20px;
  padding-bottom: 100px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 0 20px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  background-color: #F5F5F5;
  border: 1px solid #E5E5E5;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #666666;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-tab.active {
  background-color: #6782AE;
  border-color: #6782AE;
  color: #FFFFFF;
}

/* Filter Content */
.filter-content {
  display: none;
}

.filter-content.active {
  display: block;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1C1A10;
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 3px solid #6782AE;
}

/* Filter Options */
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(50% - 6px);
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #CCCCCC;
  border-radius: 2px;
  cursor: pointer;
}

.filter-option label {
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  flex: 1;
}

/* Custom Checkbox Style */
.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: calc(50% - 6px);
  padding: 4px 0;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: #F5F5F5;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #6782AE;
  border-color: #6782AE;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox span {
  font-size: 14px;
  color: #333333;
  line-height: 1.4;
}

/* Filter Footer */
.filter-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border-top: 1px solid #E5E5E5;
  display: flex;
  gap: 12px;
  z-index: 11;
}

.filter-footer button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.reset-filter {
  background-color: #F5F5F5;
  border: 1px solid #E5E5E5;
  color: #666666;
}

.reset-filter:hover {
  background-color: #E8E8E8;
}

.apply-filter {
  background-color: #FF7C00;
  border: none;
  color: #FFFFFF;
}

.apply-filter:hover {
  background-color: #E66A00;
}

/* Current Filter Conditions */
.current-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background-color: #F5F5F5;
  margin-bottom: 16px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 16px;
  font-size: 12px;
  color: #333333;
}

.filter-tag .remove {
  cursor: pointer;
  color: #999999;
  font-size: 14px;
  margin-left: 4px;
}

/* Madori Ari Status */
.madori-ari-status {
  display: inline-block;
  padding: 2px 6px;
  background-color: #F0F0F0;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  font-size: 11px;
  color: #666666;
  margin-left: 8px;
}

.madori-ari-status.active {
  background-color: #E8F4FF;
  border-color: #6782AE;
  color: #6782AE;
}

/* Mobile Favorite Button Override */
@media (max-width: 768px) {
  .favorite-btn {
    display: none !important;
  }

  .favorite-btn.mobile-only {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .favorite-btn.mobile-only svg {
    width: 20px;
    height: 20px;
  }

  .favorite-btn.mobile-only.active svg {
    fill: #6782AE;
    stroke: #6782AE;
  }
}

/* Desktop Favorite Button */
@media (min-width: 769px) {
  .favorite-btn.mobile-only {
    display: none !important;
  }

  .favorite-btn {
    display: inline-block !important;
  }

  .style-info p:first-of-type::after {
    content: "　";
  }
}
