* {
  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;
}

/* パンくずリスト共通スタイル */
#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;
}

/* セクション見出しスタイル */
.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;
}

/* お気に入りページナビゲーションスタイル */
.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;
}



/* 固定ボタンスタイル（会社一覧と同じ） */
.fixed-request-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #6782ae;
  color: #fff;
  z-index: 1000;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.fixed-button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  cursor: pointer;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.selected-count {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.free-label {
  background: #fff;
  color: #6782ae;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  right: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .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;
  }
}

/* モーダルスタイル */
.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;
}

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

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

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

.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;
}

/* PC専用表示（スマホでは非表示） */
@media (max-width: 768px) {
  .pc-only,
  #pankuzLink.pc-only {
    display: none !important;
    visibility: hidden !important;
  }
}
html {
  scroll-behavior: smooth;
  font-size: calc(1 / 1920 * 100vw);
}
body {
  width: 100%;
  /* max-width: 1440px; */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}
.flex {
  display: flex;
}
.col {
  flex-direction: column;
}
.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;
}
/* ==== Header ==== */

/* ==== Hamburger Menu === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: absolute;
  right: 40rem;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #222;
  border-radius: 2px;
}

/* Sliding menu styles */
.ham_menu {
  position: fixed;
  top: 0;
  right: -600rem;
  width: 265px;
  height: 100%;
  background-color: white;
  border-left: 1px solid #ccc;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 20;
}

.ham_menu.show {
  right: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  left: 10px;
  color: #000;
}

.menu-items {
  margin-top: 50px;
}

.menu-items a {
  margin: 15px 0;
  font-size: 16px;
  font-weight: bold;
}
/* ========== */
header {
  width: 100%;
}
header .site_name {
  width: 100%;
  /* max-width: 1440px; */
  height: 27px;
  background-color: #000000;
}
header .site_name p {
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
}
header .menu_part .num {
  gap: 12px;
}
header .menu_part .num_s {
  width: 100%;
  height: 60px;
  background-color: #eee;
}
header .num_s .data {
  gap: 3px;
}
header .num_s .data p {
  font-size: 12px;
  color: #4d4d4d;
}
header .num_s .data p:nth-of-type(2) {
  font-size: 26px;
}
header .search_c {
  gap: 10px;
}
header .search {
  width: 226px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: #ffffff;
}
header .search_c .s_btn {
  height: 40px;
  padding-inline: 8px;
  border: none;
  background-color: #6782ae;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
}
header .search_c input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 12px;
  color: #4d4d4d;
  background-color: #ffffff;
  outline: none;
}
header .search_c .search button img {
  width: 20px;
  height: auto;
}
header .search_c .search button {
  background-color: #5b7bb0;
  border: none;
  width: 50px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  cursor: pointer;
}
header .menuBar .t_part {
  position: relative;
  padding-top: 47px;
  padding-bottom: 22px;
  margin-bottom: 12px;
}
header .menuBar .ribbon {
  background: url("../img/ribbon.png") no-repeat center / cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 91px;
  height: 116px;
  padding-top: 16px;
}
header .menuBar .ribbon .heart {
  font-size: 18px;
  margin-bottom: 4px;
  width: 20px;
  height: auto;
}
header .menuBar .ribbon .count {
  font-size: 16px;
  margin-bottom: 2px;
  color: #ffffff;
}
header .menuBar .ribbon .label {
  font-size: 14px;
  color: #ffffff;
}

header .menuBar .title {
  width: 225px;
  height: auto;
}
header .menu_list {
  width: 100%;
  margin-bottom: 20px;
}
header .menu_list .menu {
  border: 1px solid #000;
  width: 111px;
  height: 67px;
  color: #000;
  font-size: 13px;
  text-align: center;
}
header .menu_list .menu:hover {
  background-color: #000;
  color: #ffffff;
}
header .menuBar .ad {
  width: 100%;
  font-size: 12px;
}
header .menuBar .ad .ad_img {
  width: 100%;
  height: auto;
}
header .menuBar .ad p {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}
header .menuBar .ad .ad_more {
  width: 100%;
  height: fit-content;
  margin-top: -3px;
  justify-content: right;
  padding-right: 40rem;
  background-color: #86a9c0;
}
header .menuBar .ad .ad_more img {
  height: 25px;
}
header .adSp {
  width: 100%;
  height: auto;
  display: none;
}

/* ============ Footer =============== */
footer {
  width: 100%;
}
footer .container {
  width: 100%;
  background-color: #f2f2f2;
  padding-top: 119px;
  padding-inline: 64px;
}
footer .top {
  margin-bottom: 50px;
}
footer .top img {
  width: 250px;
  height: auto;
}
footer .snsG {
  gap: 15px;
}
footer .snsG img {
  width: 50px;
  height: auto;
}
footer .menuG {
  gap: 15px;
  padding-bottom: 42px;
}
footer .sectionG {
  width: 20%;
}
footer .section .sectionT {
  font-size: 16px;
  color: #737373;
  font-weight: bold;
  margin-bottom: 14px;
  width: 100%;
}
footer .section .sContents {
  padding-left: 5px;
}
footer .section .sContent:nth-of-type(1) {
  margin-bottom: 14px;
}
footer .section .sContent .contentT {
  font-size: 15px;
  color: #737373;
  font-weight: bold;
  margin-bottom: 3px;
}
footer .section .sContent p:nth-of-type(2) {
  font-size: 13px;
  color: #737373;
}
footer .guide {
  width: 200px;
}
footer .guide_list {
  margin-bottom: 40px;
}
footer .guide_list p {
  font-size: 16px;
  font-weight: bold;
  color: #737373;
}
footer .map_lists {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
footer .maplist {
  gap: 5px;
}
footer .maplist p {
  font-size: 15px;
  font-weight: bold;
  color: #737373;
}
footer .bottom {
  width: 100%;
  height: 66px;
  padding-inline: 72rem;
  justify-content: space-between;
  background-color: #262626;
}
footer .bottom p {
  font-size: 12px;
  color: #ffffff;
}
footer .bottom .btm_list {
  gap: 16px;
}
/* ======== New arising components at SP ========== */
header .ribbonSp {
  display: none;
}
header .ribbonSpimg {
  position: relative;
  background: url("../img/ribbon.png") no-repeat center / cover;
  width: 40px;
  height: 50px;
}
header .ribbonSp p {
  font-size: 8px;
  color: #424031;
  font-weight: bold;
}
header .noti {
  background-color: #ffffff;
  position: absolute;
  top: 10px;
  right: -40px;
  padding-inline: 8px;
  padding-block: 3px;
  border: 1px solid #6782ae;
  border-radius: 10px;
  z-index: 10;
  color: #1c1a10;
  font-size: 20px;
}
footer .guideListG {
  display: none;
}
footer .guideList {
  width: 45%;
}
footer .guideList p {
  font-size: 12px;
  color: #737373;
}
/* ----------- sectionG_sp (dropdown) ------------  */
.sectionG_sp {
  display: none;
  width: 100%;
  margin: auto;
  background-color: #f2f2f2;
}

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

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0px;
  cursor: pointer;
}

.menu-header:hover {
  background-color: #f0f0f0;
}

.menu-header span {
  font-size: 16px;
  color: #737373;
  font-weight: bold;
}

.f_arrow {
  transition: transform 0.3s ease;
}

.f_arrow.rotate {
  transform: rotate(90deg);
}

.menu-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
  padding: 0 20px;
}

.menu-content p {
  padding: 10px 0;
  margin: 0;
  color: #666;
  font-size: 14px;
}

.section_sp.open .menu-content {
  max-height: 500px;
  height: fit-content; /* Adjust depending on content */
}
footer .btnG {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  padding-inline: 21px;
  padding-block: 15px;
}
footer .bottom_btn a {
  width: 351px;
  height: 48px;
  background-color: #ff7c00;
  padding-inline: 26px;
  padding-block: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
}

/* ************************* New Page &&&&&&&&&&&&&&&&&&&&&& */
main {
  width: 100%;
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 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;
}

/* 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;
}
main .container {
  margin-bottom: 80px;
  padding-bottom: 48px;
  position: relative;
}
.filter-arear-close {
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 40px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0);
  border: none;
}
main .bBar {
  display: none;
  background-color: #fafaf5;
  width: 100%;
  padding-inline: 21px;
  padding-block: 12px;
  font-size: 10px;
}

/* main後のパンくずスタイル */
body > .bBar {
  display: none;
  background-color: #fafaf5;
  width: 100%;
  padding: 12px 21px;
  font-size: 10px;
  color: #333333;
  border-top: 1px solid #DDDBD6;
}
.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;
}
.card-content .card-contentT {
  font-size: 24px;
  font-weight: bold;
}
.price {
  font-size: 24px;
  color: #e6541c;
  font-weight: bold;
}
.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);
}

/* カードテキストグループのスタイル */
.card-txt-group {
  display: flex !important;
  align-items: center;
  column-gap: 1em !important; /* 1文字分のスペース - column-gapを明示的に指定 */
  margin-top: 8px;
  font-size: 12px; /* 基準となるフォントサイズを指定 */
}

/* PC版でも確実にgapを適用 */
main .cardG .card-txt-group {
  display: flex !important;
  align-items: center;
  column-gap: 1em !important; /* 1文字分のスペース - column-gapを明示的に指定 */
  font-size: 12px; /* PC版でも同じフォントサイズを明示的に指定 */
}

.card-txt {
  display: flex !important;
  align-items: center;
  gap: 0.3em;
  font-size: 12px; /* フォントサイズを指定 */
}

/* gapが効かないブラウザ用のフォールバック（古いブラウザのみ） */
@supports not (gap: 1em) {
  .card-txt-group .card-txt:not(:last-child) {
    margin-right: 1em; /* 1文字分のスペース */
  }
}

/* 構造、間取りなどのラベルを太字 */
.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;
}

/* flexレイアウトの場合、項目間に1文字分のスペース */
.bTxt_content.flex {
  display: flex;
  gap: 1em; /* 1文字分のスペース */
}

/* ラベル部分（所在地、土地面積など）を太字に */
.bTxt_content p {
  margin: 0;
  font-weight: bold;
}

/* 値部分（住所、面積など）は通常の太さ */
.bTxt_content p span {
  font-weight: normal;
  margin-left: 0.5em; /* ラベルと値の間に半角スペース相当の間隔 */
}

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;
}
/* Mobile favorite button */
.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;
}
main .topR a {
  color: #333333;
}
main .card-content p {
  font-size: 12px;
  font-weight: bold;
}
.unit {
  font-size: 14px;
}
main .tag span {
  color: #ffffff;
  background-color: #888888;
  padding: 2px;
  border-radius: 3px;
}

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);
}
.btnG {
  width: 100%;
  padding-inline: 82px;
}
.btnG a {
  width: 600px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.btnG a {
  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 .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 .searchBtn img {
  width: 20px;
  height: 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 .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;
}
/* ----New arising at SP ------------ */
.search-container {
  display: none;
  padding-inline: 50px;
  margin-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;
}

.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;
}

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

.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;
}
.filter-container img,
.filter-button img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* フィルターボタンのhover効果 */
.filter-button:hover {
  background: #F8F8F8;
  border-color: #6782AE;
  transition: all 0.2s ease;
}

.filter-button:active {
  background: #F0F0F0;
  transform: translateY(1px);
}
.bubble-container {
  display: none !important;
  position: relative;
  background-color: #5a7ba5; /* blue tone from image */
  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;
}
/* Bookmark Button */
.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;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

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

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  width: 80%;
  max-width: 300px;
}

.modal h2 {
  font-size: 14px;
  margin-bottom: 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: orange;
  color: white;
}

.btn-cancel {
  background: #f7f7f7;
  color: #333;
  border: 1px solid #ccc;
}
/* ================== Responsive ============================= */
@media (max-width: 1024px) {
  html {
    scroll-behavior: smooth;
    font-size: calc(1 / 1024 * 100vw);
  }
  header .menu_list {
    display: none;
  }
  header .search_c {
    display: none;
  }
  header .menu_part .num {
    gap: 40rem;
    width: 100%;
    justify-content: center;
  }
  .hamburger {
    display: flex;
  }

}
@media (max-width: 965px) {
  html {
    font-size: calc(1 / 965 * 100vw);
  }
  .slider-container {
    height: 300px;
  }
  .container {
    width: 750px;
  }
  footer .top {
    flex-direction: column;
    gap: 25px;
  }
  footer .bottom {
    flex-direction: column;
    justify-content: center;
  }
  footer .menuG {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer .sectionG {
    width: 90%;
  }
  footer .guide {
    width: 90%;
  }
  footer .map_lists {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  footer .guideListG {
    display: flex;
  }
  footer .guide_list {
    display: none;
  }
  /* ======== New Page ====== */
  main .contentE {
    padding-inline: 75px;
  }

}
@media (max-width: 768px) {
  html {
    font-size: calc(1 / 768 * 100vw);
  }
  .container {
    width: 100%;
  }
  header .topBar {
    display: none;
  }
  header .menuBar .t_part {
    padding-inline: 19px;
    justify-content: space-between;
  }
  .hamburger {
    position: unset;
  }
  header .ribbon {
    display: none;
  }
  header .ribbonSp {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  header .ad {
    display: none;
  }
  header .adSp {
    display: block;
  }
  main {
    margin-top: 0;
  }
  footer .container {
    padding-inline: 49px;
  }
  footer .sectionG {
    display: none;
  }
  footer .guide {
    width: 100%;
  }
  footer .snsG img {
    width: 40px;
  }
  footer .bottom .btm_list {
    display: none;
  }
  footer .sectionG_sp {
    display: block;
  }
  footer .bottom {
    /* margin-bottom: 80px; */
  }
  footer .bottom p {
    width: 245px;
    text-align: center;
  }
  footer .btnG {
    display: flex;
    /* position: fixed;
    bottom: 0; */
  }
  /* ======== New Page ========= */
  main .container {
    background-color: #fafaf5;
    margin-bottom: 0;
    padding-bottom: 60px;
  }
  main .bBar {
    display: block;
  }
  
  /* スマホ版でmain後のパンくずを表示 */
  body > .bBar {
    display: block !important;
  }

  /* cardG レスポンシブ対応 - スマホ版スタイル適用 */
  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;
  }
  
  /* カード全体のスタイル - Figmaに合わせて修正 */
  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; /* 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: 12px 8px;
    display: flex;
    align-items: center;
    flex: 1;
    width: auto;
    margin-right: 65px; /* お気に入りボタン分のスペース */
    min-width: 0; /* flexアイテムの縮小を許可 */
  }
  
  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;
  }
  
  /* お気に入りボタンの調整 */
  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;
  }
  /* Show mobile favorite button on SP */
  .favorite-btn.mobile-only { display: flex; }
  /* Hide PC button text on SP to avoid overlap */
  .topR button:not(.favorite-btn) { display: none !important; }
  /* Ensure mobile favorite button shows at SP */
  .topR .favorite-btn { display: flex !important; }
  
  /* スマホ時のお気に入りアイコンは削除（SVGボタンを使用） */
  /* main .cardG .topR::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='20' viewBox='0 0 17 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 19L8.5 14L1 19V3C1 2.46957 1.21071 1.96086 1.58579 1.58579C1.96086 1.21071 2.46957 1 3 1H14C14.5304 1 15.0391 1.21071 15.4142 1.58579C15.7893 1.96086 16 2.46957 16 3V19Z' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px 20px;
    width: 17px;
    height: 20px;
    display: block;
    opacity: 1;
  } */
  
  /* カードコンテンツの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: 12px;
  }
  
  /* 価格情報を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;
  }
  
  /* 価格表示のスタイル調整 */
  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;
  }
  
  /* タグのスタイル調整 - Figmaに合わせる */
  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;
  }
  
  /* スマホ版のtopLスタイル調整 */
  main .cardG .topL {
    padding: 0px !important;
    gap: 8px;
  }
  
  /* スマホ版のみ会社名を省略表示 */
  main .topL a,
  main .cardG .topL a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 30px); /* チェックボックス分のスペースを確保 */
    display: inline-block;
  }
  
  /* 検索結果数の調整 */
  .result-count {
    padding: 10px 15px;
  }
  
  .result-count .count {
    font-size: 14px;
  }
  
  .btnG {
    display: block;
  }
  .btnG a {
    width: 100%;
  }
  main .sPanel {
    display: none;
  }
  .sectionHeader h4 {
    font-size: 15px;
  }
  /* スマホ版のcard-txtスタイル調整 */
  .card-txt-group {
    font-size: 12px;
    column-gap: 1em !important; /* 1文字分のスペースを維持 */
  }
  .card-txt p:first-child {
    font-size: 12px;
  }
  .card-txt p:last-child {
    font-size: 12px;
  }
  /* スマホ版のcard-contentTスタイル調整 */
  main .cardG .card-contentT {
    font-size: 14px;
    color: #333333;
    font-weight: 700;
    line-height: 1.36;
    margin-bottom: 4px;
  }
  /* スマホ版のbTxtスタイル調整 */
  .bTxt {
    padding: 0px;
    font-size: 11px;
  }
  .bTxt_content p {
    font-size: 11px;
  }
  .search-container {
    display: block;
  }
  .bubble-container {
    display: flex !important;
  }
}

/* デスクトップ版での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; /* PC版でもフォントサイズを明示的に指定 */
  }
  /* card-txt要素も確実にflexを適用 */
  main .cardG .card-txt,
  .card-txt {
    display: flex !important;
    align-items: center !important;
    font-size: 12px !important; /* PC版でもフォントサイズを明示的に指定 */
  }
  /* PCではmobile-onlyを非表示 */
  .favorite-btn.mobile-only { display: none !important; }
  /* PCではPC用ボタンは表示（既定） */
}

/* 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;
  }
}

@media (max-width: 500px) {
  header .menuBar .title {
    width: 117px;
  }
  header .hamburger {
    width: 24px;
    height: 24px;
  }
  header .menuBar .t_part {
    padding: 16px;
    margin: 0;
  }
  header .ribbonSpimg {
    width: 20px;
    height: 25px;
  }
  header .noti {
    top: 3px;
    right: -25px;
    padding-inline: 5px;
    padding-block: 2px;
    border-radius: 3px;
    font-size: 10px;
  }
  footer .snsG {
    flex-wrap: wrap;
    width: 300px;
    justify-content: center;
  }
  /* ==== New Page ==== */
  .btnG {
    padding-inline: 13px;
  }
  .search-container {
    padding-inline: 10px;
  }
  .search-container p {
    font-size: 12px;
  }
}

/* 無限スクロール用スタイル */
.loading-indicator {
  display: none;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #666;
}

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

.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #6782ae;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

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

/* Filter View Styles */
#filterContent {
  padding: 20px;
  background: #fff;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

#filterContent .filter-closeBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

#filterContent .filter-search-container {
  margin-bottom: 30px;
}

#filterContent .filter-search-box {
  display: flex;
  align-items: center;
  border: 2px solid #a6a193;
  border-radius: 8px;
  padding: 10px 12px 10px 40px;
  margin-bottom: 15px;
  background-color: #fff;
}

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

#filterContent .filter-options-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#filterContent .filter-sort-options {
  color: #333333;
  font-size: 10px;
}

#filterContent .filter-sort-options span {
  cursor: pointer;
  padding: 0 10px;
}

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

#filterContent .filter-sectionT {
  font-weight: bold;
  margin-bottom: 15px;
  color: #333333;
}

#filterContent .filter-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

#filterContent .filter-checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #333333;
}

#filterContent .filter-checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

#filterContent .filter-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

#filterContent .filter-reset-btn,
#filterContent .filter-apply-btn {
  padding: 10px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

#filterContent .filter-reset-btn {
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #333333;
}

#filterContent .filter-apply-btn {
  background: #6782ae;
  border: none;
  color: white;
}

#filterContent .filter-reset-btn:hover {
  background: #eee;
}

#filterContent .filter-apply-btn:hover {
  background: #5b7bb0;
}

/* Responsive styles for filter view */
@media (max-width: 768px) {
  #filterContent {
    padding: 15px;
  }

  #filterContent .filter-checkbox-group {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  #filterContent .filter-buttons {
    flex-direction: column;
    gap: 10px;
  }

  #filterContent .filter-reset-btn,
  #filterContent .filter-apply-btn {
    width: 100%;
  }
}
/* ====== Filter Area============= */
.filterArea {
  width: 100%;
  display: none;
  background-color: #F2F2F2;
}

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;
}

.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;
}

.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;
}
.sectionT img {
  width: 20px;
  height: auto;
}
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;
}
.search-container {
  background-color: #ffffff;
  display: none;
  padding-inline: 50px;
  padding-top: 12px;
}

.search-container p {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.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;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .filter-container {
    gap: 4px;
  }
}

.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;
}

/* スマホ版フィルターボタンのhover効果 */
.filterArea .filter-button:hover {
  background: #F8F8F8;
  border-color: #6782AE;
  transition: all 0.2s ease;
}

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

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

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

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

.result-count .count {
  color: #6782ae;
  font-weight: bold;
}
.filter-container img {
  width: 20px;
}
main .container .closeBtn {
  width: 35px;
  position: absolute;
  top: 10px;
  right: 15px;
  display: none;
}
@media (max-width: 768px) {
  main {
    margin-top: 0;
  }
  main .spN {
    display: none;
  }
  main .filterArea .container {
    background-color: rgba(28, 26, 16, 0.8);
    padding-top: 52px;
    position: relative;
    margin-bottom: 15px;
  }
  .search-container {
    display: block;
  }
  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;
  }
}
@media (max-width: 500px) {
  .search-container {
    padding-inline: 10px;
  }
  .filterArea .container {
    padding: 3px;
  }
}
/* ===== New Page (search) ======== */

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

.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;
}

/* Bubbles already styled as .slider-label */

/* Remove old slider-group for these sections */
#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 to match screenshot */
.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;
}

.displayFlex {
  display: flex !important;
}
.displayNone {
  display: none !important;
}
.displayBlock {
  display: block !important;
}
.arisingUp {
  position: fixed;
  bottom: 0;
  z-index: 1000;
}
.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 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 13px;
}

@media (max-width: 500px) {
  .section-checkbox {
    flex-direction: column;
  }
  .s-bc {
    width: 100%;
  }
}

/* Bubble Containerのレスポンシブ対応 */
.bubble-container-top {
  display: none;
}

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

/* モバイル用スタイル（768px以下） */
@media (max-width: 768px) {
  .bubble-container-top {
    display: block;
    position: relative; /* stickyを削除して通常配置に */
    background: #6782AE; /* Figmaに合わせたブルー背景 */
    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;
  }
}

/* ページネーションリンク */
.pagination-links {
  text-align: center;
  margin: 40px 0;
  padding: 20px 0;
}

.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;
}

.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;
}

/* 無限スクロール時はページネーションを非表示 */
.pagination-links.hidden {
  display: none;
}

/* ローディングインジケーター改善 */
.loading-indicator {
  display: none;
  text-align: center;
  padding: 40px 20px;
  margin: 20px 0;
}

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

.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); }
}

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

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

/* 固定ボタン（チェック時表示） */
.fixed-request-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; /* ブラウザ幅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;
}

.fixed-button-content {
  background: #FF7C00;
  width: 600px; /* ボタン自体は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;
}

.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;
}

.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;
}

/* スマホ版スタイル */
@media (max-width: 768px) {
  .fixed-request-button {
    width: 100%;
    left: 0;
    padding: 0 12.5px;
  }
  
  .fixed-button-content {
    width: 100%;
    margin: 0 auto;
  }
}
