@charset "UTF-8";
av-content a {
  color: #FFF;
  text-decoration: none;
}
.title_box {
  width: 90%;
  background: #f7f7f7;
  margin: 30px auto 30px;
  padding: 20px 20px 20px 30px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}
.stitle_box {
  width: 90%;
  background: #f7f7f7;
  margin: 0 auto 30px;
  padding: 6px 10px 10px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}
.stitle_box p {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: left;
  padding: 0
}
.breadcrumb-003 {
  display: flex;
  gap: 0 20px;
  list-style: none;
  padding: 6px 0 6px 18px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #f2f2f2;
  font-size: 13px;
}
.breadcrumb-003 li {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 20px;
}
.breadcrumb-003 li:not(:last-child)::before, .breadcrumb-003 li:not(:last-child)::after {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  content: '';
}
.breadcrumb-003 li:not(:last-child)::before {
  right: 0;
  border-left: 10px solid #c6cdd3;
}
.breadcrumb-003 li:not(:last-child)::after {
  right: 1px;
  border-left: 10px solid #f2f2f2;
}
.breadcrumb-003 a {
  color: #333333;
  text-decoration: none;
}
@media screen and (max-width:766px) {
  .title_box {
    width: 80%;
    font-size: 20px;
    padding: 10px 20px;
    line-height: 1.6;
  }
}
body {
  min-width: 960px;
}
.wid96 {
  width: 960px !important;
}
#out_table {
  clear: both;
}
@media screen and (max-width: 766px) {
  body {
    min-width: initial;
  }
  .wid96 {
    width: 100% !important;
  }
}
.hits {
  background: #f8f8f8;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  border: 1px solid #e3e3e3;
  width: fit-content;
  display: inline-block;
  letter-spacing: 0.03em;
}
/* 数字部分をアクセントに */
.hits .searchfall {
  color: #e68414;
  font-weight: bold;
  padding: 0 4px;
}
/* 全体の行に余白 */
.sorttable td {
  padding: 6px 0;
}
/* 並べ替え部分 */
.sorttable td:first-child {
  font-size: 13px;
  color: #555;
}
/* 並べ替えラベル「並べ替え：」 */
.sorttable td:first-child::before {
  

}
/* 各リンク */
.sorttable a {
  text-decoration: none;
  color: #333;
  padding: 4px 10px;
  margin: 0 4px;
  background: #f7f7f7;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  transition: 0.2s ease;
  font-size: 13px;
}
/* ホバー時（薄く浮かせる感じ） */
.sorttable a:hover {
  background: #e68414;
  color: white;
  border-color: #e68414;
}
/* 選択中のタブ（style="font-weight:bold" が付いているもの） */
.sorttable a[style*="font-weight:bold"] {
  background: #e68414;
  color: #fff !important;
  font-weight: bold;
  border-color: #e68414;
}
#main_list table {
  border: 1px solid #FFF !important;
}
#main_list table td {
  border: 1px solid #FFF !important;
  vertical-align: middle;
}
#main_list table th {
  border: 1px solid #F00;
}
/* --- 1段目（ヘッダー）を非表示 --- */
.bgcolor1 tr:first-child {
  display: none;
}
/* --- 左端のチェックボックス列を非表示 --- */
.bgcolor1 tr td:first-child {
  display: none;
}
/* --- カード風デザイン --- */
.bgcolor1 tr:nth-child(n+2):nth-child(-n+10) {
  background: #fff;
  display: flex;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 15px;
  width: 80%importanti;
  border: 2px solid #6bb149;
  gap: 8px;
}
/* 画像セル */
#main_list td:nth-child(2) {
  width: 180px;
}
/* 画像 */
.bgcolor1 td:nth-child(2) img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
#main_list table td:nth-child(3) {
 
  text-align: left !important;
  width: 225px !important;
}
#main_list table td:nth-child(4) {
  
  width: 225px !important;
  font-size: 16px !important;
}
#main_list table td:nth-child(4) a {
  color: #359339;
}
#main_list table td:nth-child(4) a:hover {
  text-decoration: underline;
}
#main_list table td:nth-child(5) {
 
  width: 80px !important;
}
#main_list table td:nth-child(6) {
 
  width: 80px !important;
  white-space: normal !important;
  word-break: break-word;
}
.bgcolor3 img {
  padding: 8px 2px;
}

.bgcolor1 tr:nth-child(n+2):nth-child(-n+10) {
  align-items: center;   /* ← これが縦方向の中央揃え */
}


/* 右側の情報をまとめる */
.bgcolor1 td:nth-child(n+3) {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: #333;
}
/* 種別＋マンション名＋価格 */
.bgcolor3 .price {
  color: #359339;
  font-size: 18px;
  line-height: 2;
  margin-top: 30px;
  font-weight: bold;
}
.bgcolor3 .buildname {
  font-size: 18px;
  line-height: 1.6;
  color: #359339;
  border-bottom: 2px solid #359339;
  font-weight: bold;
}
/* 所在地部分 */
.bgcolor3 a {
  font-weight: bold;
  color: #183955; /* あなたのブランド青にも変更可能 */
  text-decoration: none;
}
/* 交通部分の行間を整える */
.n_address {
  margin-top: 2px;
  padding: 4px 0;
  font-size: 15px;
  color: #555;
  line-height: 1.4;
}
/* 間取り、築年、面積などを右側で整える */
.bgcolor3 {
  font-size: 14px;
}
/* スマホ対応（縦並び） */
@media (max-width: 766px) {
  .bgcolor1 tr:nth-child(2) {
    flex-direction: column;
  }
  .bgcolor1 td:nth-child(2) img {
    width: 100%;
  }
}
/* -------------------------------------------------
    スマホ専用（766px以下）
------------------------------------------------- */
@media (max-width: 766px) {
  .hits {
    margin-left: 20px;
  }
  #out_table {
    width: 85% !important;
  }
  .stitle_box {
    width: 90%;
    padding: 10px !important;
  }
  .stitle_box p {
    letter-spacing: 2px !important;
    padding: 10px !important;
    margin: 0 !important;
  }
  #main_list tr {
    display: block !important;
  }
  #main_list .bgcolor1 tr:first-child {
    display: none !important;
  }
  #main_list table {
    width: 92% !important;
    margin: 10px auto !important;
  }
  #main_list table tr td {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  /* カードを縦並びへ */
  #main_list .bgcolor1 tr:nth-child(n+2):nth-child(-n+10) {
    flex-direction: column !important;
    padding: 12px !important;
    gap: 12px !important;
    border: 2px solid #6bb149;
    width: 84% !important;
    margin: 10px auto 20px !important;
  }
  #main_list table tr td:nth-child(2) {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }
  #main_list td:nth-child(2) img {
    width: 80% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    height: auto !important;
  }
  /* 情報ブロックは全部左揃えに */
  #main_list table td:nth-child(3), #main_list table td:nth-child(4), #main_list table td:nth-child(5), #main_list table td:nth-child(6) {
    padding-top: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 94% !important;
    font-size: 16px;
  }
  /* マンション名の大きさ調整 */
  .buildname {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #359339;
  }
  .price {
    font-size: 24px !important;
    margin-top: 12px !important;
    display: inline-block;
    color: #359339 !important;
  }
  /* 住所の余白 */
  .n_address {
    font-size: 15px !important;
  }
}
.recenttable1 {
  width: 170px; /* 横幅揃える */
  height: 100px !important; /* 高さも揃える（好みで変更OK） */
  overflow: hidden !important; /* 枠からはみ出した部分を隠す */
  display: flex;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
}
/* 画像本体 */
.recenttable1 img {
  width: 170px; /* 横幅固定して比率維持 */
  height: auto; /* 比率は崩さない */
  object-fit: cover; /* はみ出す部分をトリミング */
}
/* -------------------------------------------------
    スマホ専用（766px以下） 並べ替えバーのCSS
------------------------------------------------- */
@media (max-width: 766px) {
  li.recenttable_buy {
    width: 120px !important;
  }
  .recenttable1 {
    width: 110px; /* 横幅揃える */
    height: 100px !important; /* 高さも揃える（好みで変更OK） */
    overflow: hidden !important; /* 枠からはみ出した部分を隠す */
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
  }
  /* 画像本体 */
  .recenttable1 img {
    width: 170px; /* 横幅固定して比率維持 */
    height: auto; /* 比率は崩さない */
    object-fit: cover; /* はみ出す部分をトリミング */
  }
  /* テーブル全体を中央寄せ ＆ 幅調整 */
  table.sorttable {
    width: 95% !important;
    margin: 10px auto !important;
    border-collapse: collapse !important;
    display: block !important; /* ← 横並びを防ぐ */
  }
  /* TR を縦並びに */
  table.sorttable tr {
    display: block !important;
    width: 100% !important;
  }
  /* 左側の「並べ替え：〜」部分 */
  table.sorttable td:first-child {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    border: none !important;
  }
  /* 右側の空白セルは非表示 */
  table.sorttable td:last-child {
    display: none !important;
  }
  /* 並べ替えリンク */
  table.sorttable a {
    display: inline-block;
    padding: 4px 6px;
    margin: 2px 3px;
    font-size: 14px;
    color: #183955;
    text-decoration: none;
    border-radius: 4px;
    background: #f3f5f7;
  }
}
  /* 選択中（太字）をスマホでも目立つように */
  table.sorttable a[style*="font-weight:bold"*]()
	
	