@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===================================================================
   不動産物件詳細ページのカスタムスタイル
   =================================================================== */
/* Fudousan Plugin バージョン表記を全ページで非表示 */
#nendebcopy {
    display: none !important;
}
/* コンテナ */
#list_simplepage2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}

/* タイトル */
.entry-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
  position: relative;
}

/* NEW/UPマーク */
.new_mark,
.up_mark {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 10px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #ff6b6b;
  border-radius: 3px;
  vertical-align: middle;
}

.up_mark {
  background-color: #4a90e2;
}

/* エントリーコンテンツ（物件説明） */
.entry-content {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-left: 4px solid #FF7F32 !important;
  line-height: 1.6;
}

.entry-content p {
  margin: 0;
}

/* 画像ギャラリー */
.list_picsam {
  margin-bottom: 20px;
}

#single_fudou_img {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#single_fudou_img a {
  display: block;
  border: 1px solid #ddd;
  overflow: hidden;
  border-radius: 4px;
}

#single_fudou_img img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#single_fudou_img a:hover img {
  transform: scale(1.05);
}

/* 詳細情報エリア */
.list_detail {
  width: 100%;
}

/* 価格・間取りテーブル */
.list_detail > table {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.list_price {
  padding: 20px;
}

.list_price dl {
  display: inline-block;
  vertical-align: top;
  margin-right: 30px;
}

.list_price dt {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  font-weight: normal;
}

.list_price dd {
  font-size: 16px;
  margin: 0 0 10px 0;
}

.list_price .dpoint4 {
  font-size: 28px;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 5px;
}

/* 所在地・交通テーブル */
#list_add_table {
  margin-bottom: 20px;
}

#list_add {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

#list_add th {
  width: 120px;
  padding: 12px 15px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

#list_add td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  line-height: 1.6;
  font-size: 14px;
}

.koutsurosen {
  display: inline-block;
  margin-right: 10px;
}

/* 詳細情報テーブル */
#list_other_table {
  margin-bottom: 20px;
}

#list_other {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

#list_other th {
  width: 20%;
  padding: 12px 15px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

#list_other td {
  width: 30%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  line-height: 1.6;
  font-size: 14px;
}

/* 2カラムレイアウト用のクラス */
#list_other .th1 {
  width: 20%;
}

#list_other .td1 {
  width: 30%;
}

#list_other .th2 {
  width: 20%;
}

#list_other .td2 {
  width: 30%;
}

/* colspanが3の場合 */
#list_other td[colspan="3"] {
  width: 80%;
}

/* 設備・条件のタグスタイル */
.setsubi_dat {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px 4px 2px 0;
  font-size: 12px;
  background-color: #e8f4f8;
  border: 1px solid #b3d9e8;
  border-radius: 3px;
  white-space: nowrap;
}

/* 注意書き */
.list_detail_bottom_info {
  margin-top: 20px;
  padding: 12px 15px;
  font-size: 12px;
  color: #666;
  background-color: #fff9e6;
  border-left: 3px solid #f39c12;
  line-height: 1.5;
}

/* 編集リンク（管理者用）- 非表示 */
.edit-link {
  display: none !important;
}

.post-edit-link {
  display: none !important;
}

/* 著者情報（非表示時） */
.fudou_author {
  margin-top: 20px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #list_simplepage2 {
    padding: 10px;
  }
  
  .entry-title {
    font-size: 18px;
    line-height: 1.4;
  }
  
  .new_mark,
  .up_mark {
    display: block;
    width: fit-content;
    margin: 10px 0 0 0;
  }
  
  #single_fudou_img {
    justify-content: center;
  }
  
  #single_fudou_img img {
    width: 120px;
    height: 120px;
  }
  
  .list_price {
    padding: 15px;
  }
  
  .list_price dl {
    display: block;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .list_price .dpoint4 {
    font-size: 24px;
  }
  
  #list_add th,
  #list_other th {
    width: 35%;
    font-size: 13px;
    padding: 10px;
  }
  
  #list_add td,
  #list_other td {
    font-size: 13px;
    padding: 10px;
  }
  
  /* モバイルでは2カラムを縦並びに */
  #list_other tr {
    display: block;
    border-bottom: 1px solid #ddd;
  }
  
  #list_other tr:last-child {
    border-bottom: none;
  }
  
  #list_other th,
  #list_other td {
    display: block;
    width: 100% !important;
    border-left: none;
    border-right: none;
  }
  
  #list_other th {
    border-top: none;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
  }
  
  #list_other td {
    border-top: none;
    border-bottom: none;
    padding-bottom: 15px;
  }
  
  #list_other td[colspan="3"] {
    width: 100% !important;
  }
  
  .setsubi_dat {
    font-size: 11px;
    padding: 3px 8px;
  }
}

@media screen and (max-width: 480px) {
  .entry-title {
    font-size: 16px;
  }
  
  .list_price .dpoint4 {
    font-size: 20px;
  }
  
  #single_fudou_img img {
    width: 100px;
    height: 100px;
  }
}

/* ===================================================================
   物件検索結果一覧ページのカスタムスタイル
   =================================================================== */

/* パンくずリスト（売買 > 検索）を非表示 */
.archive_fudo .page-title {
  display: none !important;
}

/* 並び替えフィルターを非表示 */
.archive_fudo .navigation.hentry {
  display: none !important;
}

/* 前のページに戻るリンクを非表示 */
.archive_fudo .pageback {
  display: none !important;
}

/* 物件一覧のコンテナ */
.archive_fudo #list_simplepage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 各物件のボックス */
.archive_fudo .list_simple_box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 物件タイトル */
.archive_fudo .list_simple_boxtitle {
  margin-bottom: 15px;
}

.archive_fudo .list_simple_boxtitle .entry-title {
  font-size: 18px;
  font-weight: bold;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.archive_fudo .list_simple_boxtitle .entry-title a {
  color: #333;
  text-decoration: none;
}

.archive_fudo .list_simple_boxtitle .entry-title a:hover {
  color: #4a90e2;
}

/* 左ブロック（画像側） */
.archive_fudo .list_picsam {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* 面積・間取り情報を非表示 */
.archive_fudo .list_picsam .dpoint2,
.archive_fudo .archive_menseki {
  display: none !important;
}

/* 価格表示の順序を変更 */
.archive_fudo .list_picsam .dpoint1 {
  order: 2;
  font-size: 28px;
  font-weight: bold;
  color: #e74c3c;
  margin: 0;
  align-self: center;
}

/* 画像エリア */
.archive_fudo .list_picsam_img {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  order: 1;
}

.archive_fudo .list_picsam_img a,
.archive_fudo .list_picsam_img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* 詳細ボタンのラッパー */
.archive_fudo .list_picsam > a {
  order: 3;
  text-decoration: none;
  align-self: center;
}

/* 詳細ボタン */
.archive_fudo .list_details_button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #FFA500;
  color: #fff !important;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.archive_fudo .list_picsam > a:hover .list_details_button {
  background-color: #FF7F32;
  text-decoration: none;
}

/* 右ブロック（詳細情報）を非表示 */
.archive_fudo .list_simple_box .list_detail {
  display: none !important;
}

/* entry-excerptを非表示 */
.archive_fudo .entry-excerpt {
  display: none !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .archive_fudo #list_simplepage {
    padding: 10px;
  }

  .archive_fudo .list_simple_box {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .archive_fudo .list_picsam {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .archive_fudo .list_simple_boxtitle .entry-title {
    font-size: 16px;
    text-align: center;
  }

  .archive_fudo .list_picsam .dpoint1 {
    font-size: 20px;
  }

  .archive_fudo .list_picsam_img img {
    width: 120px;
    height: 120px;
  }

  .archive_fudo .list_details_button {
    font-size: 13px;
    padding: 10px 15px;
  }
}

@media screen and (max-width: 480px) {
  .archive_fudo .list_simple_boxtitle .entry-title {
    font-size: 14px;
  }

  .archive_fudo .list_picsam .dpoint1 {
    font-size: 18px;
  }

  .archive_fudo .list_picsam_img img {
    width: 100px;
    height: 100px;
  }
}

/* ===================================================================
   ヘッダーとメインコンテンツの余白調整
   =================================================================== */

/* ヘッダーの下部余白を削除 */
#header,
.l-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* パンくずリストの余白を削除 */
#breadcrumb,
.p-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
}

/* メインコンテンツの上部余白を削除 */
#content,
.l-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#main_content,
.l-mainContent {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.l-mainContent__inner {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ページタイトルの上部余白を調整 */
.c-pageTitle {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 固定ヘッダーとの間隔も削除 */
#fix_header,
.l-fixHeader {
  margin-bottom: 0 !important;
}

/* post_contentの上部余白も削除 */
.post_content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* パンくずリスト全体を非表示にする場合（オプション） */

#breadcrumb,
.p-breadcrumb {
  display: none !important;
}

/* ===================================================================
   以下に追加のカスタムスタイルを記述してください
   =================================================================== */